Promise[T] class
Constructors
constructor | (self, executor: object) |
Methods
static | all | (values: Iterable) -> Promise[list[object]] | |
catch | (self, on_rejected: object) -> Promise[_S] | ||
static | race | (values: Iterable) -> Promise[object] | |
static | reject | (error: object) -> Promise[object] | |
static | resolve | (value: _T) -> Promise[_T] | |
then | (self, on_fulfilled: object) -> Promise[_S] | ||
then | (self, on_fulfilled: object, on_rejected: object) -> Promise[_S] |