Interface: AsyncErrorValue<T, ERR>

这是一个异步值的接口,它包含了一个value字段和一个resolved字段 value字段表示异步操作的结果,resolved字段表示异步操作是否已经完成

Type parameters

Name Type
T T
ERR unknown

Hierarchy

Implemented by

Table of contents

Properties

Properties

error

error: ERR


errored

errored: boolean


resolved

resolved: boolean

Inherited from

AsyncValue.resolved


value

value: T

Inherited from

AsyncValue.value