Skip to content

Commit

Permalink
chore(promise-all): Promise.all の概説の不自然な文章を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
watagashi committed Jul 5, 2015
1 parent 8252f89 commit 7705287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ch2_HowToWrite/promise-all.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

先ほどの例の `getURL` はXHRによる通信を抽象化したpromiseオブジェクトを返しています。
`Promise.all` に通信を抽象化したpromiseオブジェクトの配列を渡すことで、
全ての通信が完了(FulFilledまたRejected)した時に、次の `.then` が呼び出すこと事が出来ます
全ての通信が完了(FulFilledまたRejected)した時に、次の `.then` を呼び出すことが出来ます

[role="executable"]
[source,javascript]
Expand Down Expand Up @@ -86,4 +86,4 @@ var promises = [
全て完了するまで225ms程度かかる計算になります。
実際にPromiseを逐次的に処理したいケースについては第4章の<<promise-sequence, Promiseによる逐次処理>>を参照して下さい。
====
====

0 comments on commit 7705287

Please sign in to comment.