InterfaceISubStat

Subscriptions statistics, as returned by method SubEvent.getStat.

interface ISubStat {
    named: {
        [name: string]: number;
    };
    unnamed: number;
}

Properties

Properties

named: {
    [name: string]: number;
}

Map of subscription names to their usage counters. It consists of only subscriptions for which option name was set when calling SubEvent.subscribe.

unnamed: number

Total number of unnamed subscriptions.