1 | import { Streaming, StreamingMessage } from "./streaming";
|
2 |
|
3 | export class Topic {
|
4 | constructor(streaming: Streaming, name: string);
|
5 |
|
6 | subscribe(listener: (streamingMessage: StreamingMessage) => void): any; // Faye Subscription
|
7 | unsubscribe(listener: (streamingMessage: StreamingMessage) => void): Topic;
|
8 | }
|