@@ -75,7 +75,7 @@ queue.call_every(400, printf, "called every 0.4 seconds\n");
7575
7676The call functions return an ID that uniquely represents the event in the
7777the event queue. You can pass this ID to ` EventQueue::cancel ` to cancel
78- an in-flight event.
78+ an in-flight event prior to dispatch .
7979
8080``` cpp
8181// The event id uniquely represents the event in the queue
@@ -88,7 +88,7 @@ if (id) {
8888}
8989
9090// Events can be cancelled as long as they have not been dispatched. If the
91- // event has already expired, cancel has no side-effects.
91+ // event has already expired, cancel may have negative side-effects.
9292queue.cancel(id);
9393```
9494
@@ -192,7 +192,7 @@ out of interrupt contexts.
192192## Documentation ##
193193
194194The in-depth documentation on specific functions can be found in
195- [ equeue.h] ( equeue.h ) .
195+ [ equeue.h] ( include/events/ equeue.h) .
196196
197197The core of the equeue library is the ` equeue_t ` type which represents a
198198single event queue, and the ` equeue_dispatch ` function which runs the equeue,
@@ -257,7 +257,7 @@ int enet_consume(void *buffer, int size) {
257257```
258258
259259Additionally, in-flight events can be cancelled with ` equeue_cancel ` . Events
260- are given unique ids on post, allowing safe cancellation of expired events .
260+ are given unique ids on post, allowing safe cancellation until dispatch .
261261
262262``` c
263263#include " equeue.h"
0 commit comments