MCPcopy Create free account
hub / github.com/djhworld/simple-computer / ConnectOutput

Method ConnectOutput

components/components.go:31–33  ·  view source on GitHub ↗
(b Component)

Source from the content-addressed store, hash-verified

29}
30
31func (e *Enabler) ConnectOutput(b Component) {
32 e.next = b
33}
34
35func (e *Enabler) GetOutputWire(index int) bool {
36 return e.outputs[index].Get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected