def wallet_handle(event_loop, wallet_name, xwallet, wallet_runtime_config, wallet_handle_cleanup): wallet_handle_gen = x_wallet_handle(event_loop, wallet_name, xwallet, wallet_runtime_config, wallet_handle_cleanup) yield next(wallet_handle_gen) next(wallet_handle_gen)
async def wallet_handle(wallet_name, xwallet, wallet_runtime_config, wallet_handle_cleanup): # noinspection PyTypeChecker async for i in x_wallet_handle(wallet_name, xwallet, wallet_runtime_config, wallet_handle_cleanup): yield i
def wallet_handle(event_loop, xwallet, wallet_config, credential, wallet_handle_cleanup): wallet_handle_gen = \ x_wallet_handle(event_loop, xwallet, wallet_config, credential, wallet_handle_cleanup) yield next(wallet_handle_gen) next(wallet_handle_gen)