Let us walk on the 3-isogeny graph
|
Public Member Functions | |
None | __init__ (self, int attempt_number) |
bool | failed (self) |
"Future" | construct (cls, int attempt_number, t.Any value, bool has_exception) |
Data Fields | |
attempt_number | |
Encapsulates a (future or past) attempted call to a target function.
Definition at line 402 of file __init__.py.
None __init__ | ( | self, | |
int | attempt_number | ||
) |
Definition at line 405 of file __init__.py.
References Future.__init__(), and i.
Referenced by Future.__init__(), and Protocol.__init_subclass__().
"Future" construct | ( | cls, | |
int | attempt_number, | ||
t.Any | value, | ||
bool | has_exception | ||
) |
Construct a new Future object.
Definition at line 415 of file __init__.py.
References i.
bool failed | ( | self | ) |
Return whether a exception is being held in this future.
Definition at line 410 of file __init__.py.
References RaiseOnErrorTokenFilter.exception.
attempt_number |
Definition at line 407 of file __init__.py.
Referenced by RetryCallState.set_exception(), and RetryCallState.set_result().