We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
A proposal by @RubenVerborgh.
Stream
extends EventEmitter
EventEmitter
void stream.on('readable', function () {})
void stream.on('end', function () {})
Quad stream.read()
And additionally
void stream.on('data', function (Quad quad) {})
which simply reads the stream on readable and emits quads.
Stream can have convenience methods like
Stream stream.filter(function (Quad quad) {})
(I have a library for this that is 99% ready.)
Stream source.find(Node subject, Node predicate, Node object, Node graph)
void sink.read(Stream stream)