Executed every time an event is tracked by the client @param event triggered event
@override onEvent(RawEvent event) { _count += 1; if (_count >= _flushAt) { shouldFlush = true; } }