5#ifndef WPINET_UV_IDLE_H_
6#define WPINET_UV_IDLE_H_
35 struct private_init {};
38 explicit Idle(
const private_init&) {}
39 ~Idle() noexcept override = default;
SignalBase is an implementation of the observer pattern, through the use of an emitting object and sl...
Definition: Signal.h:495
bool Invoke(F &&f, Args &&... args) const
Definition: Handle.h:251
Handle.
Definition: Handle.h:273
uv_idle_t * GetRaw() const noexcept
Get the underlying handle data structure.
Definition: Handle.h:288
Idle handle.
Definition: Idle.h:34
void Stop()
Stop the handle.
Definition: Idle.h:65
void Start()
Start the handle.
~Idle() noexcept override=default
sig::Signal idle
Signal generated once per loop iteration prior to Prepare signals.
Definition: Idle.h:70
Idle(const private_init &)
Definition: Idle.h:38
static std::shared_ptr< Idle > Create(Loop &loop)
Create an idle handle.
Event loop.
Definition: Loop.h:37
Definition: BFloat16.h:88
UV_EXTERN int uv_idle_stop(uv_idle_t *idle)