Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ If `$reason` itself is a promise, the promise will be rejected with the outcome
of this promise regardless whether it fulfills or rejects.

#### Deferred::notify()
**DEPRECATED** Progress notification is deprecated. Will be removed in upcoming versions.

```php
$deferred->notify(mixed $update = null);
Expand Down
3 changes: 3 additions & 0 deletions src/Deferred.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ public function reject($reason = null)
call_user_func($this->rejectCallback, $reason);
}

/**
* @deprecated 2.2.0
*/
public function notify($update = null)
{
$this->promise();
Expand Down