Constructs an empty scope with no started tasks.
Declared in <folly/coro/AsyncScope.h>
Constructs an empty scope with no started tasks.
AsyncScope() noexcept;
» more...
Constructs an empty scope with no started tasks.
explicit
AsyncScope(bool throwOnJoin) noexcept;
» more...
| Name | Description |
|---|---|
| throwOnJoin | If true, will throw last unhandled exception (if any) on joinAsync. Default behavior is to ignore the exception in opt builds and FATAL in dev builds. |