We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 383818c + 8ab6290 commit a41823aCopy full SHA for a41823a
events/include/events/Event.h
@@ -116,7 +116,8 @@ class Event<void(ArgTs...)> {
116
117
/** Configure the delay of an event
118
*
119
- * @param d Millisecond delay before dispatching the event
+ * @param d Delay (in milliseconds) before dispatching the event, expressed as a Chrono duration.
120
+ * E.g. delay(50ms)
121
*/
122
void delay(duration d)
123
{
@@ -138,7 +139,8 @@ class Event<void(ArgTs...)> {
138
139
140
/** Configure the period of an event
141
- * @param p Millisecond period for repeatedly dispatching an event
142
+ * @param p Period (in milliseconds) for repeatedly dispatching an event, expressed as a Chrono duration.
143
+ * E.g. period(200ms)
144
145
void period(duration p)
146
0 commit comments