![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <task_runner.h>
Public Member Functions | |
| void | insert (std::function< void()> func) override |
| The callback can either be queued for later/asynchronous/threaded processing, or be executed immediately for synchronous processing. | |
| void | flush () override |
| Forces the processing of all pending events. | |
| size_t | size () override |
| Returns the number of currently pending events. | |
| Public Member Functions inherited from util::TaskRunnerInterface | |
| virtual | ~TaskRunnerInterface ()=default |
Definition at line 42 of file task_runner.h.
|
inlineoverridevirtual |
Forces the processing of all pending events.
Implements util::TaskRunnerInterface.
Definition at line 46 of file task_runner.h.
|
inlineoverridevirtual |
The callback can either be queued for later/asynchronous/threaded processing, or be executed immediately for synchronous processing.
Implements util::TaskRunnerInterface.
Definition at line 45 of file task_runner.h.
|
inlineoverridevirtual |
Returns the number of currently pending events.
Implements util::TaskRunnerInterface.
Definition at line 47 of file task_runner.h.