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

Method initialize

flow-rs/src/node/demux.rs:30–32  ·  view source on GitHub ↗
(&mut self, resources: ResourceCollection)

Source from the content-addressed store, hash-verified

28 }
29
30 async fn initialize(&mut self, resources: ResourceCollection) {
31 self.resources = Some(resources);
32 }
33 async fn finalize(&mut self) {
34 for (_, task) in std::mem::take(&mut self.tasks) {
35 task.await.ok();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected