@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
Parameter | Type | Description |
---|---|---|
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 |
Returns
Promise
<boolean
>