ReactFire reference docs / ObservableStatusError
| Name |
|---|
T |
-
ObservableStatusBase<T>↳
ObservableStatusError
• data: undefined | T
The most recent value.
If initialData is passed in, the first value of data will be the valuea provided in initialData UNLESS the underlying observable is ready, in which case it will skip initialData.
ObservableStatusBase.data
• error: Error
ObservableStatusBase.error
• firstValuePromise: Promise<void>
Promise that resolves after first emit from observable
ObservableStatusBase.firstValuePromise
• hasEmitted: boolean
Indicates whether the hook has emitted a value at some point
If initialData is passed in, this will be true.
ObservableStatusBase.hasEmitted
• isComplete: true
ObservableStatusBase.isComplete
• status: "error"
ObservableStatusBase.status