Mark coroutine.close RFC as implemented (#304)

This commit is contained in:
Arseny Kapoulkine 2022-01-07 08:52:33 -08:00 committed by GitHub
parent d50b079325
commit b5e338325b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,6 +4,8 @@
Add `coroutine.close` function from Lua 5.4 that takes a suspended coroutine and makes it "dead" (non-runnable).
**Status**: Implemented
## Motivation
When implementing various higher level objects on top of coroutines, such as promises, it can be useful to cancel the coroutine execution externally - when the caller is not