Events: {
    push: (
        error: Error | null,
        bufferHandle?: number,
        direction?: number,
        newCandle?: number,
        value?: number,
        changeRel?: number | null,
        changeAbs?: number | null,
        didReinitialize?: boolean,
    ) => void;
    pushStateChanged: (
        identifier: string,
        state: Error | boolean | string,
    ) => void;
    reload: () => void;
    updatedIdentifier: (oldIdentifier: string, newIdentifier: string) => void;
    updateFinished: (
        errors: Record<string, Error> | null,
        pushStates: Record<string, Error | boolean | TPush | null>,
    ) => void;
    updateInvalidated: () => void;
    updateStarted: () => void;
}

Type declaration

  • push: (
        error: Error | null,
        bufferHandle?: number,
        direction?: number,
        newCandle?: number,
        value?: number,
        changeRel?: number | null,
        changeAbs?: number | null,
        didReinitialize?: boolean,
    ) => void

    Fired when an updated value was received for an entry TODO:

  • pushStateChanged: (identifier: string, state: Error | boolean | string) => void

    Fired when the push state of an entry was updated

  • reload: () => void

    TODO:

  • updatedIdentifier: (oldIdentifier: string, newIdentifier: string) => void

    Fired when a loader updated the identifier which it has been given

  • updateFinished: (
        errors: Record<string, Error> | null,
        pushStates: Record<string, Error | boolean | TPush | null>,
    ) => void

    Fired when an update finished

  • updateInvalidated: () => void

    TODO:

  • updateStarted: () => void

    Fired when an update was initiated