Files
univer/packages/rpc

@univerjs/rpc

Package Overview

Package Name UMD Namespace Version License Downloads Contains CSS Contains i18n locales
@univerjs/rpc UniverRpc ❌ ❌

Introduction

When handling some time-intensive tasks, such as formula computation, Univer can offload them to a location outside of the main thread, such as a Web Worker thread. The @univerjs/rpc library provides an RPC mechanism that simplifies communication between the main thread and other threads.

For more information, see the Architecture of Web Worker.

Usage

Installation

# Using npm
npm install @univerjs/rpc

# Using pnpm
pnpm add @univerjs/rpc