@ngenux/ngage-whiteboarding
Version:
A collaborative whiteboard React component with real-time synchronization
6 lines • 418 B
TypeScript
import { CompressedData } from '@/types';
export declare const onSend: (roomId: string, data: CompressedData, webSocketUrl?: string) => void;
export declare const onReceive: (roomId: string, callback: (data: CompressedData) => void, webSocketUrl?: string) => void;
export declare const leaveRoom: (roomId: string) => void;
export declare const disconnectSocket: () => void;
//# sourceMappingURL=socket-utility.d.ts.map