This library includes a few supplemental stream functions as well as a ReadonlyStream
type which can be used to declare steam types that can only be read and not written to.
Additional functions include:
readOnly
for creating a dependent stream that cannot be written toreadOnlyRT
for creating a dependent stream that cannot be written to - with run-time checksdropRepeats
drops emits for values that are the same as the previousdropInitial
omits initial values from the parent streamone
returns a Promise that resolves on stream's initial valuenextOne
returns a Promise that resolves on stream's next value
See the index.d.ts
for details.