Commit 8067a256 authored by Shai Szulanski's avatar Shai Szulanski Committed by Facebook GitHub Bot

Consistent ordering comment for collectAll[Try]Range

Reviewed By: rlyerly

Differential Revision: D29909431

fbshipit-source-id: 6ae0d7059e1f3c1ab0710d9472aec12dc324d620
parent ff841baa
...@@ -161,7 +161,7 @@ auto collectAllTry(SemiAwaitables&&... awaitables) ...@@ -161,7 +161,7 @@ auto collectAllTry(SemiAwaitables&&... awaitables)
// //
// The collectAllRange() function can be used to concurrently await a collection // The collectAllRange() function can be used to concurrently await a collection
// of SemiAwaitable objects, returning a std::vector of the individual results // of SemiAwaitable objects, returning a std::vector of the individual results
// once all operations have completed. // in the same order as the input once all operations have completed.
// //
// If any of the operations fail with an exception then requests cancellation of // If any of the operations fail with an exception then requests cancellation of
// any outstanding operations and the entire operation fails with an exception, // any outstanding operations and the entire operation fails with an exception,
...@@ -204,11 +204,8 @@ auto collectAllRange(InputRange awaitables) -> folly::coro::Task<void>; ...@@ -204,11 +204,8 @@ auto collectAllRange(InputRange awaitables) -> folly::coro::Task<void>;
// //
// The collectAllTryRange() function can be used to concurrently await a // The collectAllTryRange() function can be used to concurrently await a
// collection of SemiAwaitable objects and produces a std::vector of // collection of SemiAwaitable objects and produces a std::vector of
// Try<T> objects once all of the input operations have completed. // Try<T> objects in the same order as the input once all of the input
// // operations have completed.
// The element of the returned vector contains the result of the corresponding
// input operation in the same order that they appeared in the 'awaitables'
// sequence.
// //
// The success/failure of individual results can be inspected by calling // The success/failure of individual results can be inspected by calling
// .hasValue() or .hasException() on the elements of the returned vector. // .hasValue() or .hasException() on the elements of the returned vector.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment