Skip to content

Latest commit

 

History

History
120 lines (64 loc) · 2.22 KB

ObservableStatusSuccess.md

File metadata and controls

120 lines (64 loc) · 2.22 KB

ReactFire reference docs / ObservableStatusSuccess

Interface: ObservableStatusSuccess<T>

Type parameters

Name
T

Hierarchy

  • ObservableStatusBase<T>

    ObservableStatusSuccess

Table of contents

Properties

Properties

data

data: T

Overrides

ObservableStatusBase.data

Defined in

src/useObservable.ts:69


error

error: undefined | Error

Any error that may have occurred in the underlying observable

Inherited from

ObservableStatusBase.error

Defined in

src/useObservable.ts:60


firstValuePromise

firstValuePromise: Promise<void>

Promise that resolves after first emit from observable

Inherited from

ObservableStatusBase.firstValuePromise

Defined in

src/useObservable.ts:64


hasEmitted

hasEmitted: boolean

Indicates whether the hook has emitted a value at some point

If initialData is passed in, this will be true.

Inherited from

ObservableStatusBase.hasEmitted

Defined in

src/useObservable.ts:46


isComplete

isComplete: boolean

If this is true, the hook will be emitting no further items.

Inherited from

ObservableStatusBase.isComplete

Defined in

src/useObservable.ts:50


status

status: "success"

Overrides

ObservableStatusBase.status

Defined in

src/useObservable.ts:68