class_docstr: This class provides a thread whose purpose is to start a new
  event loop and call the provided function.
class_docstr_tok: ["This","class","provides","a","thread","whose","purpose","is","to","start","a","new","event","loop","and","call","the","provided","function","."]
docstr: Parameters
  ----------
  func : function
      The function that will be run.
  *args : args
      The arguments to the given function.
  **kwargs : kwargs
      The keyword arguments to the given function.
docstr_tok: ["Parameters","--","--","--","--","--","func",":","function","The","function","that","will","be","run",".","*","args",":","args","The","arguments","to","the","given","function",".","*","*","kwargs",":","kwargs","The","keyword","arguments","to","the","given","function","."]
code: def __init__(self, func, args, kwargs):
      """
      Parameters
      ----------
      func : function
          The function that will be run.
      *args : args
          The arguments to the given function.
      **kwargs : kwargs
          The keyword arguments to the given function.
      """
      self.func = func
      self.args = args
      self.kwargs = kwargs
      self.result = None
      super().__init__()
  
imports: from cugraph_service_client.remote_graph_utils import import_optional, MissingModule
  import numpy
  from functools import wraps
  from collections.abc import Sequence
  import pickle
  import ucp
  import asyncio
  import threading
  from cugraph_service_client import defaults
  from cugraph_service_client.remote_graph import RemoteGraph
  from cugraph_service_client import extension_return_dtype_map
  from cugraph_service_client.types import ValueWrapper, GraphVertexEdgeID, UniformNeighborSampleResult
  from cugraph_service_client.cugraph_service_thrift import create_client
label_desc: Use image node_id 1 to create a new RunAsyncioThread object from inherited base classes: threading with example: obj = RunAsyncioThread(func, args, kwargs)