Skip to content

Allow external access to finished, isError#14

Open
jschnaitmann wants to merge 1 commit intokriszyp:masterfrom
jschnaitmann:master
Open

Allow external access to finished, isError#14
jschnaitmann wants to merge 1 commit intokriszyp:masterfrom
jschnaitmann:master

Conversation

@jschnaitmann
Copy link

Finding out if a promise is already resolved or rejected does not seem to be possible right now, or at least in an unintuitive way. Therefore three methods where added to access the state of the promise:
isResolved, isRejeceted and isFinished (either rejected or resolved).

Finding out if a promise is already resolved or rejected does not seem to be possible right now, or at least in an unintuitive way. Therefore three methods where added to access the state of the promise:
isResolved, isRejeceted and isFinished (either rejected or resolved).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant