API Reference
@univerjs
@univerjs/rpc
interfaces
Iremoteinstanceservice

@univerjs/rpc v0.4.2Docs


Interface: IRemoteInstanceService

Methods

createInstance()

createInstance(params): Promise<boolean>

Parameters

ParameterType
paramsobject
params.snapshotIWorkbookData
params.typeUniverInstanceType
params.unitIDstring

Returns

Promise<boolean>

Defined in

packages/rpc/src/services/remote-instance/remote-instance.service.ts:61 (opens in a new tab)


disposeInstance()

disposeInstance(params): Promise<boolean>

Parameters

ParameterType
paramsobject
params.unitIDstring

Returns

Promise<boolean>

Defined in

packages/rpc/src/services/remote-instance/remote-instance.service.ts:62 (opens in a new tab)


syncMutation()

syncMutation(params): Promise<boolean>

Parameters

ParameterType
paramsobject
params.mutationInfoIMutationInfo<object>

Returns

Promise<boolean>

Defined in

packages/rpc/src/services/remote-instance/remote-instance.service.ts:63 (opens in a new tab)


whenReady()

whenReady(): Promise<true>

Tell other modules if the IRemoteInstanceService is ready to load files.

Returns

Promise<true>

Defined in

packages/rpc/src/services/remote-instance/remote-instance.service.ts:59 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.