clear method
Removes all events from events.
This can be used to avoid double-processing events.
Implementation
void clear() {
_events.clear();
}
Removes all events from events.
This can be used to avoid double-processing events.
void clear() {
_events.clear();
}