folly::coro::AsyncScope::AsyncScope

Constructs an empty scope with no started tasks.

Synopses

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...

Parameters

NameDescription
throwOnJoinIf 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.