push.pfuture

class push.pfuture.PFuture(waitable: Waitable, send_pid: int, recv_pid: int, fid: int, t: None | Thread = None)

Bases: object

Particle Future. Eventually contains a result.

wait() any

Wait until we get a result.

Returns:

The value that we waited to get.

Return type:

any