async fn bridge_window_event( event: Event, mstore: &Arc<Store>, event_bus: &Arc<EventBus>, ) -> Option<Event>