Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ unstoppable
Function
unstoppable
tests/canister/impl/src/lib.rs:63–69 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
61
62
#[update]
63
async fn unstoppable() {
64
loop {
65
if performance_counter(0) >= 19_000_000_000 {
66
let _ = ic_cdk::call::<_, ()>(id(),
"noop"
, ((),)).await;
67
}
68
}
69
}
70
71
#[cfg(test)]
72
mod tests {
Callers
nothing calls this directly
Calls
1
id
Function · 0.85
Tested by
no test coverage detected