@dialstack/sdk / server / ParkSlotSubscriptionOptions
Interface: ParkSlotSubscriptionOptions
Defined in: sdk/server/src/index.ts:2115
Options for presence.subscribeParkSlots.
Properties
slots?
TypeScript
optional slots?: number[];
Defined in: sdk/server/src/index.ts:2125
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.