futures::inline_executor
Defined in header <futures/executor/inline_executor.hpp>
class inline_executor;
An executor that runs anything inline.
Description
Although simple, it needs to meet the executor requirements:
- Executor concept
- Ability to query the execution context
- Result being derived from execution_context
- The execute function https://think-async.com/Asio/asio-1.18.2/doc/asio/std_executors.html
Public Functions
Member Functions | Description |
---|---|
(constructor) = default | (function) |
execute const | (function template) |
Public Functions
function inline_executor
Defined in header <futures/executor/inline_executor.hpp>
constexpr
inline_executor() = default;
Exception Safety
Basic exception guarantee.
function execute
Defined in header <futures/executor/inline_executor.hpp>
template <class F>
void
execute(F && f) const;
Exception Safety
Basic exception guarantee.
Updated on 2023-01-04