pull-sink-through
convert a pull-stream sink (that takes a callback) into a through steam that outputs a single item. Useful when you have an api that needs to return a source stream, but may be either a source or an async function.
Used by map-filter-reduce, because if a reduce is included it's a sink with a callback.
{return}
License
MIT