You are here

public function RejectedPromise::cancel in Lockr 7.3

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 83

Class

RejectedPromise
A promise that has been rejected.

Namespace

GuzzleHttp\Promise

Code

public function cancel() {

  // pass
}