Skip to content

Commit 4735056

Browse files
authored
Merge pull request #37 from async-interop/resolved-state
Define 'resolved'
2 parents 8788673 + 7b05008 commit 4735056

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ A `Promise` MUST be in one of three states: `pending`, `succeeded`, `failed`.
3535

3636
* _Must not change_ refers to the _reference_ being immutable in case of an object, _not the object itself_ being immutable.
3737

38+
A `Promise` is resolved once it either succeeded or failed.
39+
3840
## Consumption
3941

4042
A `Promise` MUST implement `Interop\Async\Promise` and thus provide a `when()` method to access its current or eventual value or reason.

0 commit comments

Comments
 (0)