Add sleep.

This commit is contained in:
Stephen Chung
2022-03-08 18:26:32 +08:00
parent b35d965e55
commit cbb1c5c6a0
2 changed files with 48 additions and 0 deletions

View File

@@ -24,6 +24,7 @@ Enhancements
* `FnAccess` and `FnNamespace` now implement `Ord` and `PartialOrd`.
* The `event_handler_map` example is enhanced to prevent shadowing of the state object map.
* Separation of constants in function calls is removed as its performance benefit is dubious.
* A function `sleep` is added to block the current thread by a specified number of seconds.
Version 1.5.0