Dex.Delayed¶
- Subclasses:
None
Methods¶
- Inherited:
class |
|
|
|
|
Virtual Methods¶
None
Fields¶
None
Class Details¶
- class Dex.Delayed¶
- Bases:
- Abstract:
No
Dex.Delayed
is a future which will resolve or reject the value of anotherDex.Future
whenDex.Delayed.release
() is called.This allows you to gate the resolution of a future which has already resolved or rejected until a later moment.
- classmethod new(future)¶
- Parameters:
future (
Dex.Future
) –- Return type:
- dup_future()¶
- Returns:
a
Dex.Future
orNone
- Return type:
Dex.Future
orNone
Retrieves the delayed future provided to
Dex.Delayed.new
().This function can only return a
Dex.Future
beforeDex.Delayed.release
() is called. After that, the delayed future is released and this function will returnNone
.
- release()¶