pub type SleepFactory = Rc<dyn Fn(u64) -> SleepFuture>;Expand description
Platform sleep factory (bsv-low#302): milliseconds → a future that
resolves after that delay. The Cloudflare crate passes its sleep_ms;
tests pass ready(()) (instant deadline) or pending() (no deadline)
to drive the race deterministically.
Aliased Type§
pub struct SleepFactory { /* private fields */ }