MCPcopy 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]
63async 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)]
72mod tests {

Callers

nothing calls this directly

Calls 1

idFunction · 0.85

Tested by

no test coverage detected