Model's Base Class.

Hierarchy (view full)

Constructors

Properties

onUpdated: OEvent<((timeOfEarliestChange: Date) => void)> = ...
state: StateMachine<"Uninitialised" | "Initialised", "shutdown" | "init">
channelId: "electrocardiogram" = 'electrocardiogram'

Methods

  • Paginated

    Parameters

    • electrocardiogramHash: SHA256Hash<Electrocardiogram>
    • from: number = -1

      (Returned by this function) use only the returned value of nextFrom field for this parameter

    • _pageSize: number = 100

      DEFAULT = 100

    Returns Promise<{
        nextFrom?: number;
        readings: ElectrocardiogramReadings[];
    }>