Skip to content
module@warp-drive/core/types/identifier

Interface RequestKey ​

Defined in: warp-drive-packages/core/src/types/identifier.ts:43

A referentially stable object with a unique string (lid) that can be used as a reference to request data in the cache.

Only requests that are assigned a RequestKey are retrievable/replayable from the cache, though requests without RequestKeys may still update cache state.

Properties ​

lid ​

ts
lid: string;

Defined in: warp-drive-packages/core/src/types/identifier.ts:47

A string representing a unique identity.


type ​

ts
type: "@document";

Defined in: warp-drive-packages/core/src/types/identifier.ts:51

Discriminates a RequestKey from a ResourceKey.

Released under the MIT License.