Skip to content

Commit b97c7d8

Browse files
authored
Merge pull request #6274 from geky/events-doc-periodic
events: Added note about immediate firing of periodic events
2 parents 69bc68d + 30392ac commit b97c7d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

events/EventQueue.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -701,6 +701,9 @@ class EventQueue : private mbed::NonCopyable<EventQueue> {
701701
}
702702

703703
/** Calls an event on the queue periodically
704+
*
705+
* @note The first call_every event occurs after the specified delay.
706+
* To create a periodic event that fires immediately, @see Event.
704707
*
705708
* The specified callback will be executed in the context of the event
706709
* queue's dispatch loop.

0 commit comments

Comments
 (0)