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

Method is_closed

flow-rs/src/node/port.rs:186–195  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

184 }
185
186 pub fn is_closed(&self) -> bool {
187 let mut is_closed = self
188 .brokers
189 .values()
190 .fold(false, |is_closed, broker| is_closed && broker.is_closed());
191 for chan in self.cache.values() {
192 is_closed = is_closed && chan.is_closed();
193 }
194 is_closed
195 }
196}
197
198impl DynPorts<Sender> {

Callers 3

is_allinp_closedMethod · 0.45
startMethod · 0.45
startMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected