@univerjs/rpc
Browser RPC layer for Univer main-thread and worker communication.
import { UniverRPCMainThreadPlugin } from '@univerjs/rpc'
univer.registerPlugin(UniverRPCMainThreadPlugin, IUniverRPCMainThreadConfig)import { UniverRPCWorkerThreadPlugin } from '@univerjs/rpc'
univer.registerPlugin(UniverRPCWorkerThreadPlugin, IUniverRPCWorkerThreadConfig)IUniverRPCMainThreadConfig
export interface IUniverRPCMainThreadConfig {
workerURL?: string | URL | Worker
}IUniverRPCWorkerThreadConfig
export interface IUniverRPCWorkerThreadConfig {
}