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.

14 lines 857 B
import type { StreamReadMessage_FromServer } from "@ydbjs/api/topic"; import { TopicPartitionSession } from "../partition-session.js"; import type { TopicCommitPromise, TopicReaderOptions } from "./types.js"; export declare let _handle_server_message: (message: StreamReadMessage_FromServer, ctx: { readonly options: TopicReaderOptions; readonly outgoingQueue: import("../queue.js").AsyncPriorityQueue<import("@ydbjs/api/topic").StreamReadMessage_FromClient>; readonly buffer: import("@ydbjs/api/topic").StreamReadMessage_ReadResponse[]; readonly partitionSessions: Map<bigint, TopicPartitionSession>; readonly pendingCommits: Map<bigint, TopicCommitPromise[]>; disposed: boolean; readMore: (bytes: bigint) => void; onError?: (error: unknown) => void; }) => Promise<void>; //# sourceMappingURL=_handle_server_message.d.ts.map