@flux-control/effect-modbus-rs
    Preparing search index...

    Interface ReadPlan

    The result of planReads.

    interface ReadPlan {
        spans: readonly ReadSpan[];
        locate(address: number): ReadLocation | undefined;
    }
    Index
    spans: readonly ReadSpan[]

    Transactions to issue, in ascending address order.

    • Maps an address back to its position in the responses.

      Answers for every address a span covers, which includes the addresses a maxGap merge pulled in. Returns undefined for an address no span covers.

      Parameters

      • address: number

      Returns ReadLocation | undefined