Async tagged wrapper that blocks on a baton until it is posted.
Declared in <folly/fibers/async/Baton.h>
template<typename... Args>
Async<void>
baton_wait(
Baton& baton,
Args&&... args);
An empty Async once the baton has been posted.
| Name | Description |
|---|---|
| baton | The baton to wait on. |
| args | Arguments forwarded to Baton::wait. |