Skip to content

dive-math / deco / arriveClock

Function: arriveClock() ​

arriveClock(rules, clock, ctx): object

Defined in: deco/air-breaks.ts:357

On arriving at a new depth mid-break, re-select the break breathing; if none qualifies the break ends early without resetting the clock.

Parameters ​

rules ​

ResolvedAirBreaks | undefined

clock ​

BreakClock

ctx ​

BreakContext

Returns ​

object

clock ​

clock: BreakClock

noBreakGas ​

noBreakGas: boolean

Example ​

ts
arriveClock(rules, clock, ctx).noBreakGas // false

Reference only — verify every fill and dive plan independently.