You are here

public function RejectedPromise::cancel in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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\Promise

Code

public function cancel() {

  // pass
}