Type Alias WaitResult

WaitResult:
    | "failure"
    | "reset"
    | "success"
    | "timeout"
  • 'success' - has a value
  • 'failure' - has an error value
  • 'reset' - was reset before a value could be resolved
  • 'timeout' - didn't resolve a value before the specified timeout