@univerjs-pro/collaboration-client v0.5.0-beta.1Docs


Class: CollaborationController

Extends

Constructors

new CollaborationController()

new CollaborationController(
   _injector, 
   _collabSessionService, 
   _univerInstanceService): CollaborationController

Parameters

ParameterType
_injectorInjector
_collabSessionServiceCollaborationSessionService
_univerInstanceServiceIUniverInstanceService

Returns

CollaborationController

Overrides

RxDisposable.constructor

Defined in

packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:21

Properties

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

Methods

dispose()

dispose(): void

Returns

void

Overrides

RxDisposable.dispose

Defined in

packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:31


disposeWithMe()

disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

RxDisposable.disposeWithMe

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:96


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

RxDisposable.ensureNotDisposed

Defined in

submodules/univer/packages/core/src/shared/lifecycle.ts:100


getCollabEntity()

getCollabEntity(id): Nullable<CollaborationEntity>

Parameters

ParameterType
idstring

Returns

Nullable<CollaborationEntity>

Defined in

packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:37


getCollabEntity$()

getCollabEntity$(id): Observable<CollaborationEntity>

Parameters

ParameterType
idstring

Returns

Observable<CollaborationEntity>

Defined in

packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:41