dataview-stream - v1.4.0
    Preparing search index...

    Interface ReadOpts<F>

    interface ReadOpts<F = FieldType> {
        convert?(value: F, name: string, temp: boolean): unknown;
        temp?: boolean;
    }

    Type Parameters

    Index

    Properties

    Methods

    Properties

    temp?: boolean

    If true, write to temp instead of packet.

    Methods

    • If specified, run the results through the given function before storing.

      Parameters

      • value: F

        Original read value.

      • name: string

        The field being stored to. May be ignored.

      • temp: boolean

        Is the field being stored to in temp rather than packet?

      Returns unknown

      Converted value.