Async annotated wrapper around fibers::await
Declared in <folly/fibers/async/Promise.h>
template<typename F>
Async<FirstArgOf<F>::type::value_type>
promiseWait(F&& func);
The awaited value, wrapped as Async.
| Name | Description |
|---|---|
| func | Callable invoked with the promise to fulfill. |