Add length.

This commit is contained in:
David Braun 2017-10-18 15:00:15 -04:00
parent 3af150ae49
commit a0a68ab8d1
3 changed files with 14 additions and 1 deletions

View file

@ -18,6 +18,7 @@
- [filter(callbackfn[, thisArg]) -> Channel](#filtercallbackfn-thisarg---channel)
- [forEach(callbackfn[, thisArg]) -> async](#foreachcallbackfn-thisarg---async)
- [join(separator) -> async String](#joinseparator---async-string)
- [length](#length)
- [map(callbackfn[, thisArg]) -> Channel](#mapcallbackfn-thisarg---channel)
- [push(value) -> async bufferLength](#pushvalue---async-bufferlength)
- [reduce(callbackfn[, initialValue])](#reducecallbackfn-initialvalue)
@ -232,6 +233,10 @@ The values of the channel are converted to Strings, and these Strings are then
concatenated, separated by occurrences of the separator. If no separator is
provided, a single comma is used as the separator.
### length
The length of the channel's buffer.
### map(callbackfn[, thisArg]) -> Channel
`callbackfn` should be a function that accepts one argument. `map` calls