Skip to content

Class: AbsentReadSuccess\<ResourceType>

Indicates that the read request was successful, but no resource exists at the provided URI.

Type parameters

Name Type
ResourceType extends Resource

Hierarchy

AbsentReadSuccess

Constructors

constructor

new AbsentReadSuccess\<ResourceType>(resource, recalledFromMemory): AbsentReadSuccess\<ResourceType>

Type parameters

Name Type
ResourceType extends Resource\<string>

Parameters

Name Type
resource ResourceType
recalledFromMemory boolean

Returns

AbsentReadSuccess\<ResourceType>

Inherited from

ReadSuccess.constructor

Defined in

packages/connected/src/results/success/ReadSuccess.ts:16

Properties

isError

Readonly isError: false

Inherited from

ReadSuccess.isError

Defined in

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


recalledFromMemory

recalledFromMemory: boolean

True if the resource was recalled from local memory rather than a recent request

Inherited from

ReadSuccess.recalledFromMemory

Defined in

packages/connected/src/results/success/ReadSuccess.ts:14


resource

resource: ResourceType

The resource that was successful

Inherited from

ReadSuccess.resource

Defined in

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


type

type: "absentReadSuccess"

Overrides

ReadSuccess.type

Defined in

packages/connected/src/results/success/ReadSuccess.ts:29


uri

uri: ResourceType["uri"]

The URI of the resource

Inherited from

ReadSuccess.uri

Defined in

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