Closed
Description
There needs to be a way to put a task to sleep. Currently there is libc::sleep which is awful because it causes the thread to sleep which will often affect multiple tasks, and uv::sleep which is a bit annoying because it drags in libuv.
Unless it's easy to drop in a lighter weight task sleep perhaps the answer, for now, is to have a task::sleep which delegates to uv::sleep.
Metadata
Metadata
Assignees
Labels
No labels