1 | import { Unsub } from "./types";
|
2 | declare type Subscription = (unsubAll: Unsub, unsubMe: Unsub) => Unsub;
|
3 | /** @hidden */
|
4 | export default class CompositeUnsubscribe {
|
5 | unsubscribed: boolean;
|
6 | subscriptions: Unsub[];
|
7 | starting: Subscription[];
|
8 | constructor(ss?: Subscription[]);
|
9 | add(subscription: Subscription): void;
|
10 | remove(unsub: Unsub): void;
|
11 | unsubscribe(): void;
|
12 | count(): number;
|
13 | empty(): boolean;
|
14 | }
|
15 | export {};
|