1<?php 2 3namespace React\Promise; 4 5interface CancellablePromiseInterface extends PromiseInterface 6{ 7 /** 8 * The `cancel()` method notifies the creator of the promise that there is no 9 * further interest in the results of the operation. 10 * 11 * Once a promise is settled (either fulfilled or rejected), calling `cancel()` on 12 * a promise has no effect. 13 * 14 * @return void 15 */ 16 public function cancel(); 17} 18