MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / new

Method new

crates/runtime/src/sim/executor/task.rs:73–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71
72impl AbortHandle {
73 pub(crate) fn new() -> Self {
74 Self {
75 state: Arc::new(AbortState::new()),
76 }
77 }
78
79 pub fn abort(&self) {
80 // Step 1: atomically mark the task as aborted.

Callers

nothing calls this directly

Calls 1

newFunction · 0.50

Tested by

no test coverage detected