Skip to content

Commit

Permalink
[doc] Add all function
Browse files Browse the repository at this point in the history
  • Loading branch information
warlock committed Nov 2, 2017
1 parent 7bc80f2 commit 47d1096
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ sb.for(1, 10, 2, (index, next, end) => {
Execute all elements in array in parallel. And get all responses in order.

```javascript
s.all([3,2,1], (element, done) => {
sb.all([3,2,1], (element, done) => {
setTimeout(() => {
console.log(element)
done(element)
Expand Down

0 comments on commit 47d1096

Please sign in to comment.