| 226 | } |
| 227 | |
| 228 | export interface PlatformAdapter { |
| 229 | /** Adapter name, e.g. "web", "telegram" */ |
| 230 | name: string; |
| 231 | |
| 232 | /** Start the adapter */ |
| 233 | start(ctx: AdapterContext): Promise<void>; |
| 234 | |
| 235 | /** Stop the adapter gracefully */ |
| 236 | stop(): Promise<void>; |
| 237 | } |
| 238 | |
| 239 | // --------------------------------------------------------------------------- |
| 240 | // Message Sender (for adapters that support proactive message sending) |
no outgoing calls
no test coverage detected