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

Method abort_handle

crates/runtime/src/sim/executor/task.rs:30–32  ·  view source on GitHub ↗

Return a handle that can cancel this task.

(&self)

Source from the content-addressed store, hash-verified

28impl<T> JoinHandle<T> {
29 /// Return a handle that can cancel this task.
30 pub fn abort_handle(&self) -> AbortHandle {
31 self.abort.clone()
32 }
33
34 /// Drop the join handle without cancelling the task.
35 pub fn detach(self) {

Callers 8

dummy_with_channelMethod · 0.45
spawnMethod · 0.45
try_initMethod · 0.45
spawn_view_cleanup_loopFunction · 0.45
ws_main_loopFunction · 0.45
closeMethod · 0.45

Calls 1

cloneMethod · 0.45