Rest
Rest = {
kind:"timed";seconds:number; } | {kind:"untilUserContinues"; } | {kind:"none"; }
Defined in: console-sdk/src/session/types.ts:47
A rest period between intervals (SDK_PLAN.md §3.3.4). Three honest behaviors,
none of which leaks the firmware’s UNDEFINED_REST_SENTINEL = 3600 (row 29):
timed: a fixed countdown ofseconds, then auto-advance. Asecondsof0is equivalent tonone(an immediate advance).untilUserContinues: HOLD — the workout waits (never auto-advances) until the athlete continues (in-appcontinueFromRest(), or, insequentialmode, motion on the next machine / a KEY_SELECT press). This is the default an omittedrestnormalizes to.none: IMMEDIATE / back-to-back — the next interval starts with no wait and no Continue tap. Used for a hand-off with no pause (e.g. a bike → rower → ski relay’s intra-round transitions). Anonerest never produces arestingphase; it is a straight advance.