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