ResolveSlotOptions
type ResolveSlotOptions = { preset?: VariantPreset; ttlMs?: number;};Defined in: packages/asset-client/src/slots.ts:118
Properties
Section titled “Properties”preset?
Section titled “preset?”optional preset?: VariantPreset;Defined in: packages/asset-client/src/slots.ts:120
Override preset (caller knows the use case better than the slot binding).
ttlMs?
Section titled “ttlMs?”optional ttlMs?: number;Defined in: packages/asset-client/src/slots.ts:122
TTL for the in-process cache. Default 60s. Set 0 to bypass.