UNPKG

gun

Version:

A realtime, decentralized, offline-first, graph data synchronization engine.

15 lines (14 loc) 406 B
export default class MainWorker { private sendToWebView; private debug; readonly crypto: Crypto; private readonly subtle; private static uuid; private toSend; private readyToSend; private messages; constructor(sendToWebView: (message: string) => void, debug?: boolean); onWebViewMessage(message: string): void; private getRandomValues; private callMethod; }