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

Method exec

flow-derive/examples/node_derive.rs:30–33  ·  view source on GitHub ↗
(&mut self, _: &Context)

Source from the content-addressed store, hash-verified

28 async fn finalize(&mut self) {}
29
30 async fn exec(&mut self, _: &Context) -> Result<()> {
31 let _: Envelope<f32> = self.first.recv::<f32>().await.unwrap();
32 Ok(())
33 }
34}
35
36node_register!("sub", SubNode);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected