Constructors
Synopses
Declared in <folly/fibers/async/Async.h>
Copy construction is disabled.
Move‐constructs the wrapper from other.
Move constructor to allow eager‐return of async without using await.
General use constructor that forwards val to the wrapped value.
template<typename... Us>
Async(Us&&... val);
Parameters
Name |
Description |
other |
The wrapper that would be copied. |
async |
The wrapper whose value is moved into this one. |
val |
Arguments used to construct the wrapped value. |
Created with MrDocs