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


Class: RemoteUniscriptService

Defined in: packages/collaboration-client-ui/src/services/remote-uniscript/remote-uniscript.service.ts:40

Extends

Constructors

new RemoteUniscriptService()

new RemoteUniscriptService(
   _instanceService, 
   _httpService, 
   _configService): RemoteUniscriptService

Defined in: packages/collaboration-client-ui/src/services/remote-uniscript/remote-uniscript.service.ts:41

Parameters

ParameterType
_instanceServiceIUniverInstanceService
_httpServiceHTTPService
_configServiceIConfigService

Returns

RemoteUniscriptService

Overrides

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:109

Returns

void

Inherited from

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


runOnServer()

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

Defined in: packages/collaboration-client-ui/src/services/remote-uniscript/remote-uniscript.service.ts:49

Parameters

ParameterType
scriptNameOrIdstring
funcstring
uniscriptLog{ executionId: string; invokeId: string; }
uniscriptLog.executionId?string
uniscriptLog.invokeId?string
paramsany[]

Returns

Promise<boolean>