mirror of
https://github.com/luau-lang/luau.git
synced 2025-04-04 02:40:53 +01:00
Mark coroutine.close RFC as implemented (#304)
This commit is contained in:
parent
d50b079325
commit
b5e338325b
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue