Skip to content

Commit 8a5671b

Browse files
committed
Update Event period and delay parameter comments
1 parent 95f40aa commit 8a5671b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

events/include/events/Event.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ class Event<void(ArgTs...)> {
116116

117117
/** Configure the delay of an event
118118
*
119-
* @param d Chrono duration delay before dispatching the event. For example delay(5s)
119+
* @param d delay (in milliseconds) before dispatching the event, expressed as a Chrono duration.
120+
* E.g. delay(50ms)
120121
*/
121122
void delay(duration d)
122123
{
@@ -138,7 +139,8 @@ class Event<void(ArgTs...)> {
138139

139140
/** Configure the period of an event
140141
*
141-
* @param p Chrono duration period for repeatedly dispatching an event. For example period(5s)
142+
* @param p period (in milliseconds) for repeatedly dispatching an event, expressed as a Chrono duration.
143+
* E.g. period(200ms)
142144
*/
143145
void period(duration p)
144146
{

0 commit comments

Comments
 (0)