QDpy
Loading...
Searching...
No Matches
qdpy.base.RayFuture Class Reference
Inheritance diagram for qdpy.base.RayFuture:
qdpy.base.FutureLike

Public Member Functions

None add_done_callback (self, Callable fn, **Any kwargs)
 Run a callback after the Ray reference becomes ready.

Detailed Description

Future object returned by `RayExecutor` methods.

Definition at line 161 of file base.py.

Member Function Documentation

◆ add_done_callback()

None qdpy.base.RayFuture.add_done_callback ( self,
Callable fn,
**Any kwargs )

Run a callback after the Ray reference becomes ready.

Parameters
fnCallback that receives this adapter.
kwargsAdditional future-interface options.

Subscribe to the underlying future rather than invoking feedback while the result is still pending.

Reimplemented from qdpy.base.FutureLike.

Definition at line 184 of file base.py.


The documentation for this class was generated from the following file: