Groups multiple Deferreds together in a single one. Conceptually, this does the opposite of #chain, in the sense that it demultiplexes multiple Deferreds into a single one, so that you can easily take an action once all the Deferreds in the group have been called
(final Collection<Deferred<T>> deferreds)
| 890 | * {@link #groupInOrder(Collection)} instead. |
| 891 | */ |
| 892 | public static <T> |
| 893 | Deferred<ArrayList<T>> group(final Collection<Deferred<T>> deferreds) { |
| 894 | return new DeferredGroup<T>(deferreds, false).getDeferred(); |
| 895 | } |
| 896 | |
| 897 | /** |
| 898 | * Groups multiple {@code Deferred}s together in a single one. |
nothing calls this directly
no test coverage detected