UNPKG

pub-sub-topic-ts

Version:
11 lines (10 loc) 314 B
export declare class Subscriber<T = any> { protected _topicName: string; protected _id: string; protected next: (value: T[]) => void; topicName: string; id: string; private _next; constructor(_topicName: string, _id: string, next: (value: T[]) => void); notify(value: T[]): void; }