pub fn drain_native_events( subscription: &NativeEventSubscription, timeout: Duration, ) -> Vec<NativeEvent>