@univerjs-pro/collaboration-client v0.5.0-beta.1 • Docs
Class: CollaborationController
Extends
Constructors
new CollaborationController()
new CollaborationController(
_injector,
_collabSessionService,
_univerInstanceService): CollaborationController
Parameters
Parameter | Type |
---|---|
_injector | Injector |
_collabSessionService | CollaborationSessionService |
_univerInstanceService | IUniverInstanceService |
Returns
Overrides
Defined in
packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:21
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:93 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .dispose$ | submodules/univer/packages/core/src/shared/lifecycle.ts:117 |
Methods
dispose()
dispose(): void
Returns
void
Overrides
Defined in
packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:31
disposeWithMe()
disposeWithMe(disposable): IDisposable
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
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
Parameter | Type |
---|---|
id | string |
Returns
Defined in
packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:37
getCollabEntity$()
getCollabEntity$(id): Observable<CollaborationEntity>
Parameters
Parameter | Type |
---|---|
id | string |
Returns
Observable
<CollaborationEntity
>
Defined in
packages/collaboration-client/src/controllers/collaboration/collaboration.controller.ts:41