When every chunk passes the predicate.
--1--2--3--4--5--6--7--8--9-|
every((x) => x < 10)
----------------------------T-|
When something fails the predicate.
--1--2--3--4--5--6--X
every((x) => x < 5)
------------------F-|
A flushes
stream can be used to force the transformer to queue
it's current state downstream.
--1--2--3--4--5--6--7--8--9-|
every((x) => x < 10, { flushes:
-----------N-----------------
})
-----------T----------------T-|
Generated using TypeDoc
Runs every chunk through a predicate. If anything fails the predicate,
false
is queued and the stream terminated. Otherwise this will wait for the entire stream to finish before queuingtrue
.