Package: effect
Module: Sink
Consumes and ignores all stream inputs.
When to use
Use to consume all upstream input and complete with void when the input values and any aggregate result are not needed.
See
count for consuming all input while returning the number of elementsforEach for consuming all input while running an effect for each elementSignature
declare const drain: Sink<void, unknown, never, never, never>
Since v2.0.0