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

Method build_node

crates/runtime/src/sim/executor/mod.rs:258–266  ·  view source on GitHub ↗
(&self, config: NodeConfig)

Source from the content-addressed store, hash-verified

256 }
257
258 fn build_node(&self, config: NodeConfig) -> Node {
259 let id = self.executor.create_node(config.clone());
260 let config = self.executor.node_config(id);
261 Node {
262 id,
263 handle: self.clone(),
264 config,
265 }
266 }
267
268 /// Pause scheduling for a node.
269 pub fn pause(&self, node: NodeId) {

Callers 1

buildMethod · 0.80

Calls 3

create_nodeMethod · 0.80
node_configMethod · 0.80
cloneMethod · 0.45

Tested by

no test coverage detected