A Promise result in near can be one of:

  • NotReady = 0 - the promise you are specifying is still not ready, not yet failed nor successful.
  • Successful = 1 - the promise has been successfully executed and you can retrieve the resulting value.
  • Failed = 2 - the promise execution has failed.

Enumeration Members

Enumeration Members

Failed: 2
NotReady: 0
Successful: 1

Generated using TypeDoc