Lines Matching refs:method
25 - Promises have a synchronous `wait` method.
35 primary way of interacting with a promise is through its `then` method, which
42 Callbacks are registered with the `then` method by providing an optional
64 registered with the promises's `then` method. These callbacks are triggered
70 Promises are fulfilled using the `resolve($value)` method. Resolving a promise
201 method. When creating a promise, you can provide a wait function that is used
240 can be obtained by calling the `getReason` method of the exception.
281 method of a promise. When creating a promise you can provide an optional
295 `cancel()` method of a promise is called.
388 This library works with foreign promises that have a `then` method. This means
390 for example. When a foreign promise is returned inside of a then method
421 You can run the task queue using the `run()` method of the global task queue