Struct inline_executor

Struct Documentation

struct concore::v1::inline_executor

Executor type that executes the work inline.

Whenever execute is called with a functor, the functor is directly called. The calling party will be blocked until the functor finishes execution.

Two objects of this type will always compare equal.

Public Functions

template<typename F>
void execute(F &&f) const

Method called to execute work in this executor.

Friends

friend bool operator==(inline_executor, inline_executor)

Equality operator; always true.

friend bool operator!=(inline_executor, inline_executor)

Inequality operator; always false.