You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: events/include/events/EventQueue.h
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -88,14 +88,14 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
88
88
89
89
/** Dispatch events
90
90
*
91
-
* Executes events until the specified milliseconds have passed.
91
+
* Executes events for the specified number of milliseconds.
92
92
*
93
-
* The dispatch function is guaranteed to terminate after the elapsed wait
93
+
* The dispatch_for() function is guaranteed to terminate after the elapsed wait.
94
94
*
95
95
* @param ms Time to wait for events in milliseconds, expressed as a
96
96
* Chrono duration.
97
97
*/
98
-
voiddispatch(duration ms);
98
+
voiddispatch_for(duration ms);
99
99
100
100
/** Dispatch events
101
101
*
@@ -111,7 +111,7 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
111
111
* value will dispatch events indefinitely
112
112
* (default to -1)
113
113
*/
114
-
MBED_DEPRECATED_SINCE("mbed-os-6.7.0", "Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`.")
114
+
MBED_DEPRECATED_SINCE("mbed-os-6.7.0", "Use dispatch_for() to pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`.")
0 commit comments