@univerjs-procollaboration-client-uifacadeinterfacesIfunivernoderuntimemixin

@univerjs-pro/collaboration-client-ui v0.5.4


Interface: IFUniverNodeRuntimeMixin

Defined in: packages/collaboration-client-ui/src/facade/f-univer.ts:6

Methods

runOnServer()

runOnServer(
   scriptNameOrId, 
   func, ...
params): Promise<boolean>

Defined in: packages/collaboration-client-ui/src/facade/f-univer.ts:13

Execute a function in a Uniscript on the server.

Parameters

ParameterTypeDescription
scriptNameOrIdstringThe name or the ID of the Uniscript to run. Name should end with “.us”.
funcstringThe function in the Uniscript to run
paramsany[]Parameters to the function

Returns

Promise<boolean>