File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ class Event<void(ArgTs...)> {
116
116
117
117
/* * Configure the delay of an event
118
118
*
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)
120
121
*/
121
122
void delay (duration d)
122
123
{
@@ -138,7 +139,8 @@ class Event<void(ArgTs...)> {
138
139
139
140
/* * Configure the period of an event
140
141
*
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)
142
144
*/
143
145
void period (duration p)
144
146
{
You can’t perform that action at this time.
0 commit comments