@channel/channel
Advanced tools
Changelog
channel@1.0.0 - 2019-06-09
Channel
class now exposes the static methods Channel.race
, Channel.merge
, Channel.zip
and Channel.latest
#4.close
and stop
arguments passed to executor have been merged as the second argument.stop
promise resolves to argument passed to return
if return
is called.push
function now resolves to the value passed to next.push
function now unwraps promise-like values passed to push.remove
is called when the buffer is empty.next
is called for the first time (#10).return
/throw
behave more like the methods do for async generators
.