Computes the remaining no-flash delay without changing or discarding a step. Both timestamps must come from the same clock. Missing or nonfinite values and a clock earlier than the start produce an unknown delay. Finite negative timestamps are valid when their elapsed time is nonnegative. Callers own clock readings, scheduling, and whether to display a step.
API
export declare function noFlashRemaining(
startedAt: number | undefined,
now: number,
): number | undefined;noFlashRemaining
number | undefined@paramstartedAt:number | undefinedThe start timestamp in milliseconds.
@paramnow:numberThe current timestamp from the same clock, in milliseconds.
@returnsnumber | undefined