ReactFire reference docs / ObservableStatusSuccess
Name |
---|
T |
-
ObservableStatusBase
<T
>↳
ObservableStatusSuccess
• data: T
ObservableStatusBase.data
• error: undefined
| Error
Any error that may have occurred in the underlying observable
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: boolean
If this is true
, the hook will be emitting no further items.
ObservableStatusBase.isComplete
• status: "success"
ObservableStatusBase.status