Skip to content

Open-source AI teammates in Slack, Teams, Discord, Telegram and Mattermost. Self-host it, with any agent harness and any model.

321 B
Raw Blame
export type Unsubscribe = () => void;

export interface IInitializable {
  initialize(): void | Promise<void>;
}

export interface IDisposable {
  dispose(): void | Promise<void>;
}

export interface ILifecycle extends IInitializable, IDisposable {}

export interface Lease<T> {
  readonly value: T;
  release(): void;
}