File "CancellablePromiseInterface.php"
Full Path: /var/www/drive/react/promise/src/CancellablePromiseInterface.php
File size: 438 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace React\Promise;
interface CancellablePromiseInterface extends PromiseInterface
{
/**
* The `cancel()` method notifies the creator of the promise that there is no
* further interest in the results of the operation.
*
* Once a promise is settled (either fulfilled or rejected), calling `cancel()` on
* a promise has no effect.
*
* @return void
*/
public function cancel();
}