def METHOD_NAME(self, wallet: 'Abstract_Wallet'):
    if not wallet.network:
        raise Exception(_('You are offline.'))
    return asyncio.run_coroutine_threadsafe(self.push_thread(wallet), wallet.network.asyncio_loop).result()