MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / exec

Method exec

flow-rs/examples/graph.rs:35–40  ·  view source on GitHub ↗
(&mut self, _: &Context)

Source from the content-addressed store, hash-verified

33 async fn finalize(&mut self) {}
34
35 async fn exec(&mut self, _: &Context) -> Result<()> {
36 if let Ok(envelope) = self.inp.recv::<u32>().await {
37 self.out.send(envelope).await.ok();
38 }
39 Ok(())
40 }
41}
42
43node_register!("Transport", Transport);

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected