FUniverNodeRuntimeMixin

GitHubEdit on GitHub
packages@univerjs-pro/collaboration-client-ui

APIs

runOnServer

Execute a function in a Uniscript on the server.

Signature

runOnServer(scriptNameOrId: string, func: string, params?: any[]): Promise<string>

Parameters

  • scriptNameOrId (string) — The name or the ID of the Uniscript to run. Name should end with ".us".
  • func (string) — The function in the Uniscript to run
  • params (any[]) — Parameters to the function

Table of Contents

Capalyze