intern
Version:
Intern. A next-generation code testing stack for JavaScript.
12 lines (11 loc) • 396 B
TypeScript
import { RemoteEvents } from './RemoteSuite';
import { ChannelOptions } from './channels/Base';
export { ChannelOptions };
export default class Channel {
readonly options: ChannelOptions;
private _channel;
private _initialized;
constructor(options: ChannelOptions);
sendMessage(name: keyof RemoteEvents, data: any): Promise<any>;
protected _initialize(): Promise<void>;
}