the type of record passed down by previous streams
The serialization function used to test items equality
The stream's options
The serialization function used to test items equality
Event emitter The defined events on documents including:
A utility method for creating Readable Streams out of iterators.
Generated using TypeDoc
A transform stream that filters equal elements. Equality is determined by a provided serializing function
Readable .from([1, 0, 11, 0, 0, 15, 1, 11, 5, 11]) .pipe(new Distinct((item: number) => item.toString(10))) .on("close", (chunks: number[]) => { console.log(chunks); // [1, 0, 11, 15, 5] });