cugraph_service_client.client.run_async#

cugraph_service_client.client.run_async(func, *args, **kwargs)[source]#

If no loop is running on the current thread, this method calls func using a new event loop using asyncio.run. If a loop is running, this method starts a new thread, and calls func on a new event loop in the new thread.

Parameters:
funcfunction

The function that will be run.

*argsargs

The arguments to the given function.

**kwargskwargs

The keyword arguments to the given function.

Returns:
The output of the given function.