Observes the execution of a task. Multiple execution observers can be chained together. As a caveat, execution observers should not remove themselves from the list of observers during execution
Synopsis
Declared in <folly/executors/ExecutionObserver.h>
class ExecutionObserver
: public boost::intrusive::list_base_hook<boost::intrusive::link_mode<boost::intrusive::auto_unlink>>
Base Classes
Name |
Description |
|
Type Aliases
Name |
Description |
An intrusive list of execution observers. |
Enums
Name |
Description |
The type of callback whose execution is being observed. |
Member Functions
Name |
Description |
|
Destroys the execution observer. |
|
Called when a task is about to start executing. |
|
Called just after a task stops executing. |
Created with MrDocs