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

Method input

flow-rs/src/sandbox.rs:138–140  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

136 }
137
138 pub fn input(&self, name: &str) -> Option<Sender> {
139 self.inputs.get(name).map(|x| x.sender())
140 }
141
142 pub fn output(&self, name: &str) -> Option<Receiver> {
143 self.outputs.get(name).map(|x| x.receiver())

Callers 4

test_basisFunction · 0.45
test_basisFunction · 0.45
test_emptyFunction · 0.45
mainFunction · 0.45

Calls 2

senderMethod · 0.80
getMethod · 0.45

Tested by 3

test_basisFunction · 0.36
test_basisFunction · 0.36
test_emptyFunction · 0.36