@univerjs/rpc v0.5.0-beta.1 • Docs
Interface: IRemoteInstanceService
Methods
createInstance()
createInstance(params): Promise<boolean>
Parameters
Parameter | Type |
---|---|
params | object |
params.snapshot | IWorkbookData |
params.type | UniverInstanceType |
params.unitID | string |
Returns
Promise
<boolean
>
Defined in
submodules/univer/packages/rpc/src/services/remote-instance/remote-instance.service.ts:61
disposeInstance()
disposeInstance(params): Promise<boolean>
Parameters
Parameter | Type |
---|---|
params | object |
params.unitID | string |
Returns
Promise
<boolean
>
Defined in
submodules/univer/packages/rpc/src/services/remote-instance/remote-instance.service.ts:62
syncMutation()
syncMutation(params): Promise<boolean>
Parameters
Parameter | Type |
---|---|
params | object |
params.mutationInfo | IMutationInfo <object > |
Returns
Promise
<boolean
>
Defined in
submodules/univer/packages/rpc/src/services/remote-instance/remote-instance.service.ts:63
whenReady()
whenReady(): Promise<true>
Tell other modules if the IRemoteInstanceService
is ready to load files.
Returns
Promise
<true
>
Defined in
submodules/univer/packages/rpc/src/services/remote-instance/remote-instance.service.ts:59