MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / send_plan

Method send_plan

nodedb/src/data/executor/dispatch/array/tests_dispatch.rs:106–117  ·  view source on GitHub ↗
(&mut self, plan: PhysicalPlan)

Source from the content-addressed store, hash-verified

104 }
105
106 fn send_plan(&mut self, plan: PhysicalPlan) -> crate::bridge::envelope::Response {
107 let id = self.next_id;
108 self.next_id += 1;
109 self.req_tx
110 .try_push(BridgeRequest {
111 inner: make_request(plan, id),
112 })
113 .unwrap();
114 self.core.tick();
115 let resp = self.resp_rx.try_pop().unwrap();
116 resp.inner
117 }
118
119 fn open(&mut self, aid: &ArrayId, schema: &ArraySchema, schema_hash: u64) {
120 let bytes = zerompk::to_msgpack_vec(schema).unwrap();

Callers 2

sendMethod · 0.80

Calls 4

try_pushMethod · 0.80
try_popMethod · 0.80
make_requestFunction · 0.70
tickMethod · 0.45

Tested by

no test coverage detected