Lines Matching refs:to

6 for a general introduction to promises.
36 registers callbacks to receive either a promise's eventual value or the reason
99 promise. The return value of a promise is what's forwarded to the next
101 subsequent promises in the chain to only be fulfilled when the returned promise
200 You can synchronously force promises to complete using a promise's `wait`
202 to synchronously force a promise to complete. When a wait function is invoked
203 it is expected to deliver a value to the promise or reject the promise. If the
205 function provided to a promise constructor is invoked when the `wait` function
259 You can force a promise to resolve and *not* unwrap the state of the promise
260 by passing `false` to the first argument of the `wait` function:
273 wait function will be the value delivered to promise B.
293 expected to resolve the promise. `$cancelFn` is a function with no arguments
294 that is expected to cancel the computation of a promise. It is invoked when the
317 …Appends fulfillment and rejection handlers to the promise, and returns a new promise resolving to
321 …ion handler callback to the promise, and returns a new promise resolving to the return value of th…
325 Synchronously waits on the promise to complete.
329 This is set to `true` by default.
333 Attempts to cancel the promise if possible. The promise being cancelled and
335 cancelled. Any promises waiting on the cancelled promise to resolve will also
354 A fulfilled promise can be created to represent a promise that has been
371 A rejected promise can be created to represent a promise that has been
408 a foreign promise. You will need to wrap a third-party promise with a Guzzle
409 promise in order to utilize wait and cancel functions with foreign promises.
414 In order to keep the stack size constant, Guzzle promises are resolved
416 task queue will be automatically run to ensure that the blocking promise and
418 event loop, you will need to run the task queue on each tick of the loop. If
445 By shuffling pending handlers from one owner to another, promises are
475 all of its pending handlers to the new promise. When the new promise is
482 Some promise libraries implement promises using a deferred object to represent
483 a computation and a promise object to represent the delivery of the result of
488 One side effect of being able to implement promise resolution and chaining
489 iteratively is that you need to be able for one promise to reach into the state
490 of another promise to shuffle around ownership of handlers. In order to achieve
492 also the deferred value, allowing promises of the same parent class to reach
494 does allow consumers of the value to modify the resolution or rejection of the
495 deferred, it is a small price to pay for keeping the stack size constant.
500 // The promise is the deferred value, so you can deliver a value to it.
508 A static API was first introduced in 1.4.0, in order to mitigate problems with functions conflictin…
537 If you discover a security vulnerability within this package, please send an email to security@tide…
547 …kages are working with Tidelift to deliver commercial support and maintenance for the open source …