UNPKG

@ydbjs/topic

Version:

YDB Topics client for publish-subscribe messaging. Provides at-least-once delivery, exactly-once publishing, FIFO guarantees, and scalable message processing for unstructured data.

17 lines 938 B
import type { StreamWriteMessage_FromClient, StreamWriteMessage_InitResponse, StreamWriteMessage_WriteRequest_MessageData } from "@ydbjs/api/topic"; import type { CompressionCodec } from "../codec.js"; import type { AsyncPriorityQueue } from "../queue.js"; import type { TX } from "../tx.js"; import type { ThroughputSettings } from "./types.js"; export declare const _on_init_response: (ctx: { readonly tx?: TX; readonly queue: AsyncPriorityQueue<StreamWriteMessage_FromClient>; readonly codec: CompressionCodec; readonly buffer: StreamWriteMessage_WriteRequest_MessageData[]; readonly inflight: StreamWriteMessage_WriteRequest_MessageData[]; readonly lastSeqNo?: bigint; readonly throughputSettings: ThroughputSettings; updateLastSeqNo: (seqNo: bigint) => void; updateBufferSize: (bytes: bigint) => void; }, input: StreamWriteMessage_InitResponse) => void; //# sourceMappingURL=_init_reponse.d.ts.map