FUniverNodeRuntimeMixin
| 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 runparams(any[]) — Parameters to the function
