Lines Matching refs:that

75 A **Deferred** represents a computation or unit of work that may not have
76 completed yet. Typically (but not always), that computation will be something
77 that executes asynchronously and completes at some point in the future.
82 the result of that computation. Thus, each deferred has a promise that acts as
140 Rejects the promise returned by `promise()`, signalling that the deferred's
156 Triggers progress notifications, to indicate to consumers that the computation
200 It returns a new promise that will fulfill with the return value of either
301 with `otherwise()`, `always()` allows you to write code that is similar to the familiar
316 Similar asynchronous code (with `doSomething()` that returns a promise) can be
342 of the promise that they are not longer interested in the result of an
351 The `cancel()` method notifies the creator of the promise that there is no
395 * `$resolve($value)` - Primary function that seals the fate of the
397 When called with a non-promise value, fulfills promise with that value.
399 fate will be equivalent to that of `$otherPromise`.
400 * `$reject($reason)` - Function that rejects the promise. It is recommended to
402 * `$notify($update)` - Deprecated function that issues progress events for the promise.
405 with that thrown exception as the rejection reason.
420 Note, that `$value` **cannot** be a promise. It's recommended to use
433 Note, that `$reason` **cannot** be a promise. It's recommended to use
480 If `$promiseOrValue` is a thenable (any object that provides a `then()` method),
481 a trusted promise that follows the state of the thenable is returned.
514 Returns a promise that will resolve only once all the items in
525 Initiates a competitive race that allows one winner. Returns a promise which is
534 Returns a promise that will resolve when any one of the items in
550 Returns a promise that will resolve when `$howMany` of the supplied items in
556 to resolve (that is, when `(count($promisesOrValues) - $howMany) + 1` items
589 that provide a promise. `React\Promise\Deferred` implements it, but since it
642 Each call to `then()` returns a new promise that will resolve with the return
752 chain so that they are meaningful to the next step. It also allows you to choose
786 propagate intermediate errors. Any errors that are not handled will be caught
838 Note that if a rejection value is not an instance of `\Exception`, it will be