CtxRound
Defined in: core/define.ts:77
Round bookkeeping visible to game code (ADR 0008).
Extends
Section titled “Extends”Properties
Section titled “Properties”deadline
Section titled “deadline”
readonlydeadline:number|null
Defined in: core/define.ts:55
Epoch ms when the round closes on its own, or null.
Inherited from
Section titled “Inherited from”number
Section titled “number”
readonlynumber:number
Defined in: core/define.ts:48
1-based count of rounds in this phase.
Inherited from
Section titled “Inherited from”
readonlyopen:boolean
Defined in: core/define.ts:49
Inherited from
Section titled “Inherited from”participants
Section titled “participants”
readonlyparticipants: readonlynumber[]
Defined in: core/define.ts:51
Seats that were occupied when the round opened.
Inherited from
Section titled “Inherited from”pending
Section titled “pending”
readonlypending: readonlynumber[]
Defined in: core/define.ts:53
Inherited from
Section titled “Inherited from”submitted
Section titled “submitted”
readonlysubmitted: readonlynumber[]
Defined in: core/define.ts:52
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”close()
Section titled “close()”close():
void
Defined in: core/define.ts:79
Closes the round now. onClose runs at the end of this entry.
Returns
Section titled “Returns”void
next()
Section titled “next()”next():
void
Defined in: core/define.ts:81
Opens the next round. Only valid after the current one closed.
Returns
Section titled “Returns”void
