edgeport - v1.0.6
    Preparing search index...

    Function readReply

    • Reads and decodes exactly one RESP value from a buffered reader.

      Consumes a whole frame including any nested aggregates, so consecutive calls walk a pipelined stream of replies. A RESP3 attribute (|) is folded into the value it describes rather than returned on its own, so this never resolves to an attribute.

      Parameters

      • reader: FramedReader

        The buffered reader to consume.

      • OptionaltimeoutMs: number

        Optional per-read deadline.

      Returns Promise<RespValue>

      The decoded value.

      If the frame is malformed or nests past the depth limit.

      If the stream ends mid-frame.

      If timeoutMs elapses.

      1.0.6