LeviLamina
Loading...
Searching...
No Matches
ll::thread::InplaceExecutor Class Referencefinal
+ Inheritance diagram for ll::thread::InplaceExecutor:

Public Types

using Clock = std::chrono::steady_clock
 
using Duration = Clock::duration
 

Public Member Functions

LLAPI InplaceExecutor (std::string name)
 
LLAPI void execute (std::function< void()>) const override
 
LLAPI std::shared_ptr< data::CancellableCallbackexecuteAfter (std::function< void()>, Duration) const override
 
std::string const & getName () const
 

Static Public Member Functions

static LLNDAPI InplaceExecutor const & getDefault ()
 

Member Function Documentation

◆ execute()

LLAPI void ll::thread::InplaceExecutor::execute ( std::function< void()> ) const
overridevirtual

Implements ll::coro::Executor.

◆ executeAfter()

LLAPI std::shared_ptr< data::CancellableCallback > ll::thread::InplaceExecutor::executeAfter ( std::function< void()> ,
Duration  ) const
overridevirtual

Implements ll::coro::Executor.


The documentation for this class was generated from the following file: