folly::ExecutionObserverScopeGuard

Notifies a list of execution observers around a scoped task execution.

Synopsis

Declared in <folly/executors/ExecutionObserver.h>

class ExecutionObserverScopeGuard;

Member Functions

NameDescription
ExecutionObserverScopeGuard [constructor]Notifies the observers that the task is starting to execute.
~ExecutionObserverScopeGuard [destructor]Notifies the observers that the task stopped executing.