/* * AsyncRunnerInterface.hh * * Created on: 20 мая 2024 г. * Author: leonid */ #ifndef ASYNCRUNNERINTERFACE_HH_ #define ASYNCRUNNERINTERFACE_HH_ #include namespace umlib { namespace tests { struct TaskInterface { virtual void do_task() = 0; }; struct AsyncRunnerInterface { virtual void run_after( TaskInterface * task, uint32_t processor_tick ) = 0; virtual void cancel() = 0; virtual bool is_ran() = 0; }; }} #endif /* ASYNCRUNNERINTERFACE_HH_ */