mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
Mark coroutine.close RFC as implemented (#304)
This commit is contained in:
parent
d50b079325
commit
b5e338325b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user