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

Method create_node

crates/runtime/src/sim/executor/mod.rs:172–174  ·  view source on GitHub ↗

Create a new simulated node. Nodes are a scheduling/pausing boundary rather than separate executors: all nodes still run on the same single-threaded runtime.

(&self)

Source from the content-addressed store, hash-verified

170 /// Nodes are a scheduling/pausing boundary rather than separate executors:
171 /// all nodes still run on the same single-threaded runtime.
172 pub fn create_node(&self) -> NodeBuilder {
173 self.handle().create_node()
174 }
175
176 /// Pause scheduling for a node.
177 ///

Calls 6

NodeIdClass · 0.85
handleMethod · 0.80
lockMethod · 0.80
insertMethod · 0.65
newFunction · 0.50
cloneMethod · 0.45