Add concat.

This commit is contained in:
David Braun 2017-11-28 13:28:02 -05:00
parent 1ba41d0f53
commit 46bb4c371b
No known key found for this signature in database
GPG key ID: 5694EEC4D129BDCF
3 changed files with 36 additions and 0 deletions

View file

@ -15,6 +15,7 @@
- [Channel.from(callback | iterable | stream.Readable[, mapfn [, thisArg]]) -> read-only Channel](#channelfromcallback--iterable--streamreadable-mapfn--thisarg---read-only-channel)
- [Examples](#examples-1)
- [Channel Object](#channel-object)
- [concat(...arguments) -> Channel](#concatarguments---channel)
- [every(callbackfn[, thisArg]) -> async Boolean](#everycallbackfn-thisarg---async-boolean)
- [filter(callbackfn[, thisArg]) -> Channel](#filtercallbackfn-thisarg---channel)
- [forEach(callbackfn[, thisArg]) -> async](#foreachcallbackfn-thisarg---async)
@ -202,6 +203,12 @@ const fromStream = Channel.from(
## Channel Object
### concat(...arguments) -> Channel
When the `concat` method is called with zero or more arguments, it returns a
channel containing the values of the channel followed by the channel values of
each argument in order.
### every(callbackfn[, thisArg]) -> async Boolean
`callbackfn` should be a function that accepts one argument and returns a value