WaitConfig
Seconds a state holds before it moves on, counted by the fixed step.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Context |
Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
seconds |
number | ((args) => number) |
The seconds, or a function of the context that gives them, read each step, so a round’s countdown comes from its own props. |
then |
string | TransitionConfig<Context> |
The state it goes to once the seconds are spent, or a transition, such as { target: "watch", reenter: true }, which starts its own state over. |