Interface representing the pacing data.

interface Pacing {
    chunks: PaceChunk[];
    elapsed: number;
    factor: number;
    factors: factors.Factors;
    isCurrent: boolean;
    moving: number;
    np: number;
    pace: number;
    status: PacingStatus;
    calculate(): void;
    clearCache(): void;
    clearFactor(): void;
}

Implemented by

Properties

chunks: PaceChunk[]

An array of pacing chunks.

elapsed: number

The elapsed time (seconds).

factor: number

The factor associated with the pacing.

factors: factors.Factors

The factors associated with the pacing.

isCurrent: boolean
moving: number

The moving time (seconds).

np: number

The normalized pace (seconds/kilometer).

pace: number

The pace value (seconds/kilometer).

status: PacingStatus

The status of the pacing, including completion, success, and number of chunks.

Methods

  • Clears the cache of the pacing data.

    Returns void

  • Clears the factor of the pacing data.

    Returns void