MCPcopy Index your code
hub / github.com/DoumanAsh/async-timer

github.com/DoumanAsh/async-timer @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
135 symbols 233 edges 17 files 34 documented · 25%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

Timer (Interface)
Timer # Common implementations: - Windows uses thread pooled timer - Apple systems uses dispatch source API - Posix co [6 …
src/timer/mod.rs
Callback (Interface)
Interface to timer's callback It is guaranteed that callback is invoked only once, unless `Timer` is restarted or `Time [3 …
src/state.rs
SyncTimer (Interface)
Describes timer interface that doesn't require async event loop. In most cases these timers are implemented by OS calli [5 …
src/timer/mod.rs
TimerFd (Interface)
(no doc) [2 implementers]
src/timer/async_tokio1.rs

Core symbols most depended-on inside this repo

is_done
called by 10
src/state.rs
reset
called by 8
src/state.rs
register
called by 5
src/state.rs
wake
called by 5
src/state.rs
timer_create
called by 4
src/timer/web.rs
poll_sync
called by 4
src/timer/mod.rs
waker
called by 3
src/state.rs
wait
called by 3
src/interval.rs

Shape

Method 79
Function 26
Class 21
Enum 5
Interface 4

Languages

Rust99%
C1%

Modules by API surface

src/timer/async_tokio1.rs17 symbols
src/timer/win.rs16 symbols
src/timer/posix.rs16 symbols
src/timer/apple.rs16 symbols
src/state.rs15 symbols
src/timer/web.rs14 symbols
src/timer/dummy.rs9 symbols
src/timed.rs7 symbols
src/interval.rs7 symbols
src/timer/mod.rs6 symbols
tests/interval.rs4 symbols
tests/timer.rs2 symbols

For agents

$ claude mcp add async-timer \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact