Projektstart

This commit is contained in:
2026-01-22 15:49:12 +01:00
parent 7212eb6f7a
commit 57e5f652f8
10637 changed files with 2598792 additions and 64 deletions

View File

@@ -0,0 +1,14 @@
import { CommandNameFlags } from "./Command";
declare type AddSet = CommandNameFlags["ENTER_SUBSCRIBER_MODE"][number];
declare type DelSet = CommandNameFlags["EXIT_SUBSCRIBER_MODE"][number];
/**
* Tiny class to simplify dealing with subscription set
*/
export default class SubscriptionSet {
private set;
add(set: AddSet, channel: string): void;
del(set: DelSet, channel: string): void;
channels(set: AddSet | DelSet): string[];
isEmpty(): boolean;
}
export {};