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

Interface SyncTimer

src/timer/mod.rs:96–118  ·  view source on GitHub ↗

Describes timer interface that doesn't require async event loop. In most cases these timers are implemented by OS calling back a provided callback. As notification is not done via event loop, timer has to store callback in its own state. Whenever async timer relies on async event loop to handle notifications # Usage ``` use async_timer::timer::{Timer, SyncTimer, new_sync_timer}; use core::sy

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected