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

Method ConnectOutput

components/storage.go:58–60  ·  view source on GitHub ↗
(b Component)

Source from the content-addressed store, hash-verified

56}
57
58func (e *Word) ConnectOutput(b Component) {
59 e.next = b
60}
61
62func (e *Word) GetOutputWire(index int) bool {
63 return e.outputs[index].Get()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected