initial commit
This commit is contained in:
14
node_modules/ioredis/built/SubscriptionSet.d.ts
generated
vendored
Normal file
14
node_modules/ioredis/built/SubscriptionSet.d.ts
generated
vendored
Normal 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 {};
|
||||
Reference in New Issue
Block a user