import { listChannelPlugins } from "../channels/plugins/index.js"; import type { OutboundSendDeps } from "../infra/outbound/send-deps.js"; import { createLazyRuntimeSurface } from "../shared/lazy-runtime.js"; import type { CliDeps } from "./deps.types.js"; import { createOutboundSendDepsFromCliSource } from "./outbound-send-mapping.js"; import { createChannelOutboundRuntimeSend } from "./send-runtime/channel-outbound-send.js";
/** *Lazy-loadedper-channelsendfunctions,keyedbychannelID. *Valuesareproxyfunctionsthatdynamicallyimporttherealmoduleonfirstuse.
*/
export type { CliDeps } from "./deps.types.js";
type RuntimeSend = {
sendMessage: (...args: unknown[]) => Promise<unknown>;
};
type RuntimeSendModule = {
runtimeSend: RuntimeSend;
};
// Per-channel module caches for lazy loading. const senderCache = new Map<string, Promise<RuntimeSend>>();
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.