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:
Andy Friesen 2022-01-28 11:41:31 -08:00 committed by GitHub
parent 250f2da363
commit c38c75a985
Signed by: DevComp
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ Luau now gives up and reports an `*unknown*` type in far fewer cases when typech
## 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