cugraph_service_client.client.RunAsyncioThread#
- class cugraph_service_client.client.RunAsyncioThread(func, args, kwargs)[source]#
This class provides a thread whose purpose is to start a new event loop and call the provided function.
Methods
run
()Runs this thread's previously-provided function inside a new event loop.
- __init__(func, args, kwargs)[source]#
- Parameters:
- funcfunction
The function that will be run.
- *argsargs
The arguments to the given function.
- **kwargskwargs
The keyword arguments to the given function.
Methods
__init__
(func, args, kwargs)- Parameters:
getName
()Return a string used for identification purposes only.
isDaemon
()Return whether this thread is a daemon.
is_alive
()Return whether the thread is alive.
join
([timeout])Wait until the thread terminates.
run
()Runs this thread's previously-provided function inside a new event loop.
setDaemon
(daemonic)Set whether this thread is a daemon.
setName
(name)Set the name string for this thread.
start
()Start the thread's activity.
Attributes
daemon
A boolean value indicating whether this thread is a daemon thread.
ident
Thread identifier of this thread or None if it has not been started.
name
A string used for identification purposes only.
native_id
Native integral thread ID of this thread, or None if it has not been started.