Skip to content

Class: Unfetched\<ResourceType>

Indicates that a specific resource is unfetched

Type parameters

Name Type
ResourceType extends Resource

Hierarchy

Unfetched

Constructors

constructor

new Unfetched\<ResourceType>(resource): Unfetched\<ResourceType>

Type parameters

Name Type
ResourceType extends Resource\<string>

Parameters

Name Type
resource ResourceType

Returns

Unfetched\<ResourceType>

Inherited from

ResourceSuccess.constructor

Defined in

packages/connected/src/results/success/SuccessResult.ts:27

Properties

isError

Readonly isError: false

Inherited from

ResourceSuccess.isError

Defined in

packages/connected/src/results/success/SuccessResult.ts:9


resource

resource: ResourceType

The resource that was successful

Inherited from

ResourceSuccess.resource

Defined in

packages/connected/src/results/success/SuccessResult.ts:25


type

Readonly type: "unfetched"

Overrides

ResourceSuccess.type

Defined in

packages/connected/src/results/success/Unfetched.ts:10


uri

uri: ResourceType["uri"]

The URI of the resource

Inherited from

ResourceSuccess.uri

Defined in

packages/connected/src/results/success/SuccessResult.ts:21