@univerjs-pro/live-share v0.5.4


Class: LiveShareController

Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:37

This controller manage live share session.

Extends

Constructors

new LiveShareController()

new LiveShareController(
   _univerInstanceService, 
   _injector, 
   _collabSessionService): LiveShareController

Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:40

Parameters

ParameterType
_univerInstanceServiceIUniverInstanceService
_injectorInjector
_collabSessionServiceCollaborationSessionService

Returns

LiveShareController

Overrides

RxDisposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseRxDisposable._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
dispose$protectedSubject<void>undefinedRxDisposable.dispose$submodules/univer/packages/core/src/shared/lifecycle.ts:120

Methods

dispose()

dispose(): void

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

Returns

void

Inherited from

RxDisposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

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

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

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

Returns

void

Inherited from

RxDisposable.ensureNotDisposed


getLiveShareCoordinator()

getLiveShareCoordinator(unitID): Promise<LiveShareCoordinator>

Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:51

Parameters

ParameterType
unitIDstring

Returns

Promise<LiveShareCoordinator>