llarp::EventLoopWakeup
distinct event loop waker upper; used to idempotently schedule a task on the next event loop More...
#include <ev.hpp>
Public Functions
| Name | |
|---|---|
| virtual | ~EventLoopWakeup() =default Destructor: remove the task from the event loop task. |
| virtual void | Trigger() =0 trigger this task to run on the next event loop iteration; does nothing if already triggered. |
Detailed Description
class llarp::EventLoopWakeup;
distinct event loop waker upper; used to idempotently schedule a task on the next event loop
Created via EventLoop::make_waker(...).
Public Functions Documentation
function ~EventLoopWakeup
virtual ~EventLoopWakeup() =default
Destructor: remove the task from the event loop task.
(Note that destruction here only initiates removal of the task from the underlying event loop: it is possible for the callback to fire again if already triggered depending on the underlying implementation).
function Trigger
virtual void Trigger() =0
trigger this task to run on the next event loop iteration; does nothing if already triggered.
Updated on 2026-01-10 at 22:49:45 +0000