qimpy.mpi.Waitable
- class Waitable(*args, **kwargs)
Bases:
Protocol
[Twait
]Generic protocol for objects with a wait method. Useful as a return type for asynchronous communication or compute functions. The function returns a Waitable object, with the actual results returned later by the wait method.
- __init__(*args, **kwargs)
Methods
Return the actual results of the asynchronous operation, once complete.
- wait()
Return the actual results of the asynchronous operation, once complete.
- Return type:
Twait