5#ifndef WPINET_UV_PREPARE_H_
6#define WPINET_UV_PREPARE_H_
26 struct private_init {};
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_prepare_t * GetRaw() const noexcept
Get the underlying handle data structure.
Definition: Handle.h:288
Event loop.
Definition: Loop.h:37
Prepare handle.
Definition: Prepare.h:25
sig::Signal prepare
Signal generated once per loop iteration prior to polling for I/O.
Definition: Prepare.h:61
static std::shared_ptr< Prepare > Create(Loop &loop)
Create a prepare handle.
Prepare(const private_init &)
Definition: Prepare.h:29
void Start()
Start the handle.
~Prepare() noexcept override=default
void Stop()
Stop the handle.
Definition: Prepare.h:56
Definition: StdDeque.h:50
Definition: ParallelTcpConnector.h:22
UV_EXTERN int uv_prepare_stop(uv_prepare_t *prepare)