MCPcopy Create free account
hub / github.com/Gozala/protocol / Stream

Function Stream

tests/basic.js:83–88  ·  view source on GitHub ↗
(head, tail)

Source from the content-addressed store, hash-verified

81 })
82
83 function Stream(head, tail) {
84 var stream = Object.create(Stream.prototype)
85 stream.head = head
86 stream.tail = tail
87 return stream
88 }
89 Sequence(Stream, {
90 tail: function(stream) { return stream.tail },
91 })

Callers 1

basic.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected