Skip to main content

@dialstack/sdk-dev / server/src / ParkSlotSubscriptionOptions

Interface: ParkSlotSubscriptionOptions

Defined in: sdk/server/src/index.ts:2815

Options for presence.subscribeParkSlots.

Properties​

slots?​

TypeScript
optional slots?: number[];

Defined in: sdk/server/src/index.ts:2825

The specific slots to watch. Naming them subscribes to exactly those, and every snapshot then carries each one — free slots included — so a snapshot covers the full set you asked for rather than only the occupied part.

Omit to watch every slot in the account. Park slots are not provisioned (a slot exists only while a call sits in it), so with no slots named a snapshot carries only the occupied ones and anything absent is free.

On this page