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.

15 lines 768 B
import type { StreamWriteMessage_FromClient, 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 _flush: (ctx: { readonly tx?: TX; readonly queue: AsyncPriorityQueue<StreamWriteMessage_FromClient>; readonly codec: CompressionCodec; readonly buffer: StreamWriteMessage_WriteRequest_MessageData[]; readonly inflight: StreamWriteMessage_WriteRequest_MessageData[]; readonly throughputSettings: ThroughputSettings; updateBufferSize: (bytes: bigint) => void; }) => void; //# sourceMappingURL=_flush.d.ts.map