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

Public Types

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

Public Member Functions

LLAPI ServerThreadExecutor (std::string name, Duration maxOnceDuration, size_t checkPack)
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 ServerThreadExecutor const & getDefault ()

Member Function Documentation

◆ execute()

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

Implements ll::coro::Executor.

◆ executeAfter()

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

Implements ll::coro::Executor.


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