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: Runs this thread's previously-provided function inside
  a new event loop.  Returns the result.
  
  Returns
  -------
  The returned object of the previously-provided function.
docstr_tok: ["Runs","this","thread","'s","previously-provided","function","inside","a","new","event","loop",".","Returns","the","result",".","Returns","--","--","--","-","The","returned","object","of","the","previously-provided","function","."]
code: def run(self):
      """
      Runs this thread's previously-provided function inside
      a new event loop.  Returns the result.
  
      Returns
      -------
      The returned object of the previously-provided function.
      """
      self.result = asyncio.run(self.func(*self.args, **self.kwargs))
  
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 2 for calling the RunAsyncioThread obj's underlying member method code with example usage: obj.run() without return types