这是一个异步值的接口,它包含了一个value字段和一个resolved字段 value字段表示异步操作的结果,resolved字段表示异步操作是否已经完成
Name |
---|
T |
AsyncValue
<T
| null
>new LastEventValue<T
>(eventSource
, scope?
)
Name |
---|
T |
Name | Type |
---|---|
eventSource |
EventRegistry <T > |
scope? |
Scope |
Private
hasFirstEventArrived: any
Private
lastEvent: any
Private
startObserving: any
get
resolved(): boolean
boolean
get
value(): null
| T
null
| T