TurnsConfig
Defined in: core/define.ts:183
Type Parameters
Section titled “Type Parameters”S = unknown
O = unknown
Properties
Section titled “Properties”first?
Section titled “first?”
optionalfirst?:"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.
onTimeout?
Section titled “onTimeout?”
optionalonTimeout?:string
Defined in: core/define.ts:199
Internal action run when the turn timer fires. Receives { seat } as input.
order?
Section titled “order?”
optionalorder?:"round-robin"| ((args) =>number[])
Defined in: core/define.ts:185
'round-robin' (ascending seats) or a function returning the order.
optionalskip?: (args) =>boolean
Defined in: core/define.ts:187
Seats to skip when advancing (for example folded players).
Parameters
Section titled “Parameters”number
S
Returns
Section titled “Returns”boolean
timeoutMs?
Section titled “timeoutMs?”
optionaltimeoutMs?: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).
