From 5321a44527e2e950a2d06f38677a13e91baff58f Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 30 Nov 2017 11:16:27 -0500 Subject: [PATCH] Mention `when(concurrently:)` under sequencing --- Documentation/CommonPatterns.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/CommonPatterns.md b/Documentation/CommonPatterns.md index 9698206..94079fc 100644 --- a/Documentation/CommonPatterns.md +++ b/Documentation/CommonPatterns.md @@ -170,6 +170,8 @@ Note *usually* you want `when()` since `when` executes all the promises in parallel and thus is much faster to complete. Use the above pattern in situations where tasks *must* be done sequentially; animation is a good example. +We also provide `when(concurrently:)` which allows you to schedule more than +one promise at a time if required. ## Timeout