@univerjs-pro/collaboration-client v0.5.4


Class: CollaborationController

Defined in: packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:17

Extends

Constructors

new CollaborationController()

new CollaborationController(
   _injector, 
   _collabSessionService, 
   _univerInstanceService): CollaborationController

Defined in: packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:22

Parameters

ParameterType
_injectorInjector
_collabSessionServiceCollaborationSessionService
_univerInstanceServiceIUniverInstanceService

Returns

CollaborationController

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
entityInit$readonlyObservable<CollaborationEntity>undefined-packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:20

Methods

dispose()

dispose(): void

Defined in: packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:32

Returns

void

Overrides

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


getCollabEntity()

getCollabEntity(id): Nullable<CollaborationEntity>

Defined in: packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:38

Parameters

ParameterType
idstring

Returns

Nullable<CollaborationEntity>


getCollabEntity$()

getCollabEntity$(id): Observable<CollaborationEntity>

Defined in: packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:42

Parameters

ParameterType
idstring

Returns

Observable<CollaborationEntity>


readyForCollab()

readyForCollab(id): Promise<void>

Defined in: packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:51

Parameters

ParameterType
idstring

Returns

Promise<void>