web-serial-rxjs API Documentation
    Preparing search index...

    Interface SerialSessionReceiveReplayOptions

    interface SerialSessionReceiveReplayOptions {
        bufferSize?: number;
        enabled?: boolean;
    }
    Index

    Properties

    bufferSize?: number

    Retains the last N decoded text chunks (one emission per onChunk from the read pump) in the replay buffer. Not the character count. Higher bufferSize uses more memory.

    512
    
    enabled?: boolean

    When true, the session uses a replay buffer for SerialSession.receiveReplay$ for each open connection. When false (default), receiveReplay$ is the same hot stream as SerialSession.receive$ (no chunk replay).