@Dispatcher.launch_at_front
def submit_pending_events():
    if _ffi.lib.glean_on_ready_to_submit_pings():
        PingUploadWorker.process()
@Dispatcher.launch_at_front
def submit_pending_events():
    if _ffi.lib.glean_on_ready_to_submit_pings():
        PingUploadWorker.process()