MCPcopy Create free account
hub / github.com/DoumanAsh/async-timer / Timer

Interface Timer

src/timer/mod.rs:35–56  ·  view source on GitHub ↗

Timer # Common implementations: - Windows uses thread pooled timer - Apple systems uses dispatch source API - Posix compatible `timer_create`, available on major Posix-compliant systems. Depends on availability of `siginfo_t::si_value` method. - Wasm uses Web API `SetTimeout` - Dummy timer is used when no implementation is available. Panics when used. # Usage ```no_run use async_timer::timer:

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 6

web.rssrc/timer/web.rs
apple.rssrc/timer/apple.rs
dummy.rssrc/timer/dummy.rs
win.rssrc/timer/win.rs
posix.rssrc/timer/posix.rs
async_tokio1.rssrc/timer/async_tokio1.rs

Calls

no outgoing calls

Tested by

no test coverage detected