QuestDB JavaScript Client - v5.0.0
    Preparing search index...

    Connection-scoped ingress sequencer.

    One promise is registered before each WebSocket send, preventing a fast ACK from racing its waiter. Calls are serialized to preserve the server's zero-based wire sequence. Successful ACKs are cumulative, so an ACK for sequence N resolves every outstanding send through N.

    Index

    Constructors

    Accessors

    • get acknowledgedFrameSequence(): bigint

      Highest cumulative ACK watermark. When durable ACK is being tracked this advances only after durability; otherwise it follows ordinary OK ACKs.

      Returns bigint

    Methods

    • Prompts the server to publish its latest durable-ingress watermarks. Node transports use a WebSocket PING; browsers send the protocol-level table-less durable-ACK poll frame. Browser completion means the control frame was published; durable progress arrives independently because the server may withhold its cumulative OK while a transaction remains open.

      Returns Promise<void>

    • Publishes one pre-encoded frame without allocating an ACK waiter. Applications can observe later acceptance through progress callbacks.

      Parameters

      • frame: Uint8Array

      Returns Promise<void>

    • Waits independently for the cumulative frame ACK watermark. A negative target is already satisfied, but still surfaces a latched session error.

      Parameters

      • targetSequence: bigint
      • timeoutMs: number = ...

      Returns Promise<void>