# decalog/4.4.0/includes/libraries/react/Promise/ExtendedPromiseInterface.php

DecaLog, version 4.4.0. 31 lines.

- Page: https://pluginprobe.com/plugins/decalog/4.4.0/code/includes/libraries/react/Promise/ExtendedPromiseInterface.php
- Raw: https://pluginprobe.com/plugins/decalog/4.4.0/raw/includes/libraries/react/Promise/ExtendedPromiseInterface.php
- Modified: 2020-04-07T09:58:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/decalog/4.4.0/code/includes/libraries/react/Promise/ExtendedPromiseInterface.php#L10-L20`.

```php
<?php

namespace React\Promise;

interface ExtendedPromiseInterface extends PromiseInterface
{
    /**
     *
     * The `$onProgress` argument is deprecated and should not be used anymore.
     *
     * @return void
     */
    public function done(callable $onFulfilled = null, callable $onRejected = null, callable $onProgress = null);

    /**
     * @return ExtendedPromiseInterface
     */
    public function otherwise(callable $onRejected);

    /**
     * @return ExtendedPromiseInterface
     */
    public function always(callable $onFulfilledOrRejected);

    /**
     * @return ExtendedPromiseInterface
     * @deprecated 2.6.0 Progress support is deprecated and should not be used anymore.
     */
    public function progress(callable $onProgress);
}

```
