#async #tokio #sleep #async-std #smol

patchable-async-sleep

An async sleep function, patchable to the preferred runtime

1 unstable release

0.1.0 Sep 5, 2024

#906 in Asynchronous

MIT license

4KB

Patchable Async Sleep

An async sleep function, patchable to the preferred runtime.

This crate is tokio-backed. Applications which don't want to use tokio should patch this crate to one which works witht heir preferred runtime. The point of it is to have a minimal API surface to trivially facilitate such work.

Dependencies

~2–7.5MB
~47K SLoC