public function PromiseInterface::resolve in Auth0 Single Sign On 8.2
Resolve the promise with the given value.
Parameters
mixed $value:
Throws
\RuntimeException if the promise is already resolved.
4 methods override PromiseInterface::resolve()
- Coroutine::resolve in vendor/
guzzlehttp/ promises/ src/ Coroutine.php - Resolve the promise with the given value.
- FulfilledPromise::resolve in vendor/
guzzlehttp/ promises/ src/ FulfilledPromise.php - Resolve the promise with the given value.
- Promise::resolve in vendor/
guzzlehttp/ promises/ src/ Promise.php - Resolve the promise with the given value.
- RejectedPromise::resolve in vendor/
guzzlehttp/ promises/ src/ RejectedPromise.php - Resolve the promise with the given value.
File
- vendor/
guzzlehttp/ promises/ src/ PromiseInterface.php, line 61
Class
- PromiseInterface
- A promise represents the eventual result of an asynchronous operation.
Namespace
GuzzleHttp\PromiseCode
public function resolve($value);