Skip to content

TurnsConfig

Defined in: core/define.ts:183

S = unknown

O = unknown

optional first?: "lowest" | ((args) => number)

Defined in: core/define.ts:192

Who starts: the lowest seat in the order (default) or a function (for example "left of the big blind"). A skipped seat passes to the next eligible one.


optional onTimeout?: string

Defined in: core/define.ts:199

Internal action run when the turn timer fires. Receives { seat } as input.


optional order?: "round-robin" | ((args) => number[])

Defined in: core/define.ts:185

'round-robin' (ascending seats) or a function returning the order.


optional skip?: (args) => boolean

Defined in: core/define.ts:187

Seats to skip when advancing (for example folded players).

number

S

boolean


optional timeoutMs?: number | ((args) => number)

Defined in: core/define.ts:197

Arms a turn timer on every turn change. Requires onTimeout. A function can read the table options (({ options }) => options.turnMs).