mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Update docs/_posts/2022-01-27-luau-recap-january-2022.md
Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
This commit is contained in:
parent
250f2da363
commit
c38c75a985
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ Luau now gives up and reports an `*unknown*` type in far fewer cases when typech
|
||||||
|
|
||||||
## New APIs
|
## New APIs
|
||||||
|
|
||||||
We have brought in the [`coroutine.close`](https://luau-lang.org/library#coroutine-library) function from Lua 5.4. It accepts a suspended coroutine and marks it as non-runnable.
|
We have brought in the [`coroutine.close`](https://luau-lang.org/library#coroutine-library) function from Lua 5.4. It accepts a suspended coroutine and marks it as non-runnable. In Roblox, this can be useful in combination with `task.defer` to implement cancellation.
|
||||||
|
|
||||||
## REPL improvements
|
## REPL improvements
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue