Skip to main content

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

Interface: ParkSlotSubscriptionOptions

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

Options for presence.subscribeParkSlots.

Properties​

slots?​

TypeScript
slots?: number[];

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

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