API.md: Add async
to reduce's return value.
This commit is contained in:
parent
4930e4204d
commit
366249f84f
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@
|
||||||
- [length](#length)
|
- [length](#length)
|
||||||
- [map(callbackfn[, thisArg]) -> Channel](#mapcallbackfn-thisarg---channel)
|
- [map(callbackfn[, thisArg]) -> Channel](#mapcallbackfn-thisarg---channel)
|
||||||
- [push(value) -> async bufferLength](#pushvalue---async-bufferlength)
|
- [push(value) -> async bufferLength](#pushvalue---async-bufferlength)
|
||||||
- [reduce(callbackfn[, initialValue])](#reducecallbackfn-initialvalue)
|
- [reduce(callbackfn[, initialValue]) -> async](#reducecallbackfn-initialvalue---async)
|
||||||
- [shift() -> async](#shift---async)
|
- [shift() -> async](#shift---async)
|
||||||
- [slice(start[, end]) -> Channel](#slicestart-end---channel)
|
- [slice(start[, end]) -> Channel](#slicestart-end---channel)
|
||||||
- [some(callbackfn[, thisArg])](#somecallbackfn-thisarg)
|
- [some(callbackfn[, thisArg])](#somecallbackfn-thisarg)
|
||||||
|
@ -294,7 +294,7 @@ promise.
|
||||||
|
|
||||||
Unlike `Array`'s method, accept only one `value` at a time.
|
Unlike `Array`'s method, accept only one `value` at a time.
|
||||||
|
|
||||||
### reduce(callbackfn[, initialValue])
|
### reduce(callbackfn[, initialValue]) -> async
|
||||||
|
|
||||||
`callbackfn` should be a function that takes two arguments (unlike `Array`'s
|
`callbackfn` should be a function that takes two arguments (unlike `Array`'s
|
||||||
version which takes four). `reduce` calls the callback, as a function, once for
|
version which takes four). `reduce` calls the callback, as a function, once for
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue