






















@@ -1,7 +1,25 @@
11export { resolveChunkMode } from "../auto-reply/chunk.js";
22export { finalizeInboundContext } from "../auto-reply/reply/inbound-context.js";
3-export {
4-dispatchReplyWithBufferedBlockDispatcher,
5-dispatchReplyWithDispatcher,
6-} from "../auto-reply/reply/provider-dispatcher.js";
3+import type {
4+DispatchReplyWithBufferedBlockDispatcher,
5+DispatchReplyWithDispatcher,
6+} from "../auto-reply/reply/provider-dispatcher.types.js";
7+8+export type {
9+DispatchReplyWithBufferedBlockDispatcher,
10+DispatchReplyWithDispatcher,
11+} from "../auto-reply/reply/provider-dispatcher.types.js";
712export type { ReplyPayload } from "./reply-payload.js";
13+14+export const dispatchReplyWithBufferedBlockDispatcher: DispatchReplyWithBufferedBlockDispatcher =
15+async (params) => {
16+const { dispatchReplyWithBufferedBlockDispatcher: dispatch } =
17+await import("../auto-reply/reply/provider-dispatcher.js");
18+return await dispatch(params);
19+};
20+21+export const dispatchReplyWithDispatcher: DispatchReplyWithDispatcher = async (params) => {
22+const { dispatchReplyWithDispatcher: dispatch } =
23+await import("../auto-reply/reply/provider-dispatcher.js");
24+return await dispatch(params);
25+};
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。