public function PromiseInterface::cancel in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/guzzlehttp/promises/src/PromiseInterface.php \GuzzleHttp\Promise\PromiseInterface::cancel()
Cancels the promise if possible.
@link https://github.com/promises-aplus/cancellation-spec/issues/7
4 methods override PromiseInterface::cancel()
- FulfilledPromise::cancel in vendor/
guzzlehttp/ promises/ src/ FulfilledPromise.php - Cancels the promise if possible.
- NotPromiseInstance::cancel in vendor/
guzzlehttp/ promises/ tests/ NotPromiseInstance.php - Cancels the promise if possible.
- Promise::cancel in vendor/
guzzlehttp/ promises/ src/ Promise.php - Cancels the promise if possible.
- RejectedPromise::cancel in vendor/
guzzlehttp/ promises/ src/ RejectedPromise.php - Cancels the promise if possible.
File
- vendor/
guzzlehttp/ promises/ src/ PromiseInterface.php, line 76
Class
- PromiseInterface
- A promise represents the eventual result of an asynchronous operation.
Namespace
GuzzleHttp\PromiseCode
public function cancel();