feat: complete Ancestor quote bot with production-ready Docker support

This commit is contained in:
unfunny
2026-09-13 14:14:38 -04:00
parent f2016da05a
commit fe7351a7dc
1145 changed files with 30890 additions and 97684 deletions

View File

@@ -1,18 +1,16 @@
import { type Logger } from "./logger.ts";
import { type MatrixClient } from "./client.ts";
import { type ToDeviceBatch } from "./models/ToDeviceMessage.ts";
import { MatrixClient } from "./client";
import { ToDeviceBatch } from "./models/ToDeviceMessage";
/**
* Maintains a queue of outgoing to-device messages, sending them
* as soon as the homeserver is reachable.
*/
export declare class ToDeviceMessageQueue {
private client;
private readonly logger;
private sending;
private running;
private retryTimeout;
private retryAttempts;
constructor(client: MatrixClient, logger: Logger);
constructor(client: MatrixClient);
start(): void;
stop(): void;
queueBatch(batch: ToDeviceBatch): Promise<void>;