Skip to content
scroll to zoom · drag to pan

resolveSlot

function resolveSlot(slotKey, opts?): Promise<SlotResolution>;

Defined in: packages/asset-client/dist/index.d.ts:734

Resolve a single slot to a CDN URL. Returns {slot: null, url: null} when the slot is unbound — callers fall back to a placeholder.

Cached for ttlMs (default 60s). Slot rebindings propagate within the TTL window without an app restart.

Parameter Type
slotKey string
opts? ResolveSlotOptions

Promise<SlotResolution>