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 348 B
export interface ISyncSocket { connect(url: string): Promise<ISyncSocket>; send(data: any): void; close(): void; onMessage(handler: (data: any) => void): void; onError(handler: (error: any) => void): void; onClose(handler: () => void): void; onOpen(handler: () => void): void; } //# sourceMappingURL=ISyncSocket.d.ts.map