You are here

public function FulfilledPromise::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/FulfilledPromise.php, line 78

Class

FulfilledPromise
A promise that has been fulfilled.

Namespace

GuzzleHttp\Promise

Code

public function cancel() {

  // pass
}