UNPKG

@gitorial/sync

Version:

Universal sync library for real-time tutorial state synchronization between websites and VS Code extensions with built-in relay server orchestration

10 lines 487 B
import type { IEventEmitter } from './IEventEmitter'; export declare class BrowserEventEmitter implements IEventEmitter { private events; on(event: string, listener: (...args: any[]) => void): this; off(event: string, listener: (...args: any[]) => void): this; emit(event: string, ...args: any[]): boolean; once(event: string, listener: (...args: any[]) => void): this; removeAllListeners(event?: string): this; } //# sourceMappingURL=BrowserEventEmitter.d.ts.map