Skip to content

Instantly share code, notes, and snippets.

@jamesplease
Created July 13, 2018 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesplease/4df0cd2a3ab22b5a3a73a6996ddb5404 to your computer and use it in GitHub Desktop.
Save jamesplease/4df0cd2a3ab22b5a3a73a6996ddb5404 to your computer and use it in GitHub Desktop.
{
// The value that the Promise resolved or rejected to
value: any,
// `true` when the Promise has either resolved or rejected
complete: Boolean,
// `true` until the Promise resolves or rejects
pending: Boolean,
// `true` when the Promise is resolved
resolved: Boolean,
// `true` when the Promise is rejected
rejected: Boolean,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment