Various utility functions versions of
Deprecated: Use zipSources instead
Deprecated synonym for
Combines two sources. The new source will stop producing once either source has been exhausted.
Combines two sinks. The new sink will complete when both input sinks have completed.
Any leftovers are discarded.
Sink into a
Conduit in the following way:
- All input passed to the
Sinkis yielded downstream.
- When the
Sinkfinishes processing, the result is passed to the provided to the finalizer function.
Note that the
Sink will stop receiving input as soon as the downstream it
is connected to shuts down.
An example usage would be to write the result of a
Sink to some mutable
variable while allowing other processing to continue.