It seems like a pretty fundamental function, which is currently missing from the Core. It could be as simple as `sleep(uint64_t nanos)`.
Activity
sunfishcode commentedon Aug 19, 2019
I'm the current API, the way to implement sleep is to use
poll_oneoff, polling for a single__WASI_EVENTTYPE_CLOCKevent.newpavlov commentedon Aug 19, 2019
Ah, good to know. :)
Comment changes (WebAssembly#77)
Document the behavior of writes past the end of a file. (WebAssembly#77)
Add `export!` macros (WebAssembly#77)