UNPKG

396 BTypeScriptView Raw
1import { RemoteEvents } from './RemoteSuite';
2import { ChannelOptions } from './channels/Base';
3export { ChannelOptions };
4export default class Channel {
5 readonly options: ChannelOptions;
6 private _channel;
7 private _initialized;
8 constructor(options: ChannelOptions);
9 sendMessage(name: keyof RemoteEvents, data: any): Promise<any>;
10 protected _initialize(): Promise<void>;
11}