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
ReadSuccess
\<ResourceType
>
↳ 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
Defined in
packages/connected/src/results/success/ReadSuccess.ts:16
Properties
isError
• Readonly
isError: false
Inherited from
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
Defined in
packages/connected/src/results/success/SuccessResult.ts:25
type
• type: "absentReadSuccess"
Overrides
Defined in
packages/connected/src/results/success/ReadSuccess.ts:29
uri
• uri: ResourceType
["uri"
]
The URI of the resource