19#ifndef CPPREALM_SCHEDULER_HPP
20#define CPPREALM_SCHEDULER_HPP
33 virtual void invoke(std::function<
void()> &&) = 0;
38 [[nodiscard]]
virtual bool is_on_thread()
const noexcept = 0;
43 virtual bool is_same_as(
const scheduler *other)
const noexcept = 0;
51 [[nodiscard]]
virtual bool can_invoke()
const noexcept = 0;
Definition: scheduler.hpp:27