8 std::unique_ptr<Impl> impl;
11 LLAPI ServerThreadExecutor(std::string name, Duration maxOnceDuration,
size_t checkPack);
13 LLAPI ~ServerThreadExecutor()
override;
15 LLAPI
void execute(std::function<
void()>)
const override;
17 LLAPI std::shared_ptr<data::CancellableCallback> executeAfter(std::function<
void()>, Duration)
const override;
19 LLNDAPI
static ServerThreadExecutor
const& getDefault();