You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
269 B
TypeScript

import Emitter = require('./Emitter');
declare class Channel extends Emitter {
send(msg: any): void;
connect(channel: Channel): void;
disconnect(channel: Channel): void;
isConnected(channel: Channel): boolean;
destroy(): void;
}
export = Channel;