public function RejectedPromise::cancel in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/guzzlehttp/promises/src/RejectedPromise.php \GuzzleHttp\Promise\RejectedPromise::cancel()
Cancels the promise if possible.
@link https://github.com/promises-aplus/cancellation-spec/issues/7
Overrides PromiseInterface::cancel
File
- vendor/
guzzlehttp/ promises/ src/ RejectedPromise.php, line 80
Class
- RejectedPromise
- A promise that has been rejected.
Namespace
GuzzleHttp\PromiseCode
public function cancel() {
// pass
}