@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
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
_collabSessionService | CollaborationSessionService |
Returns
Overrides
Properties
Property | Modifier | Type | Default value | Inherited from | Defined in |
---|---|---|---|---|---|
_disposed | protected | boolean | false | RxDisposable ._disposed | submodules/univer/packages/core/src/shared/lifecycle.ts:96 |
dispose$ | protected | Subject <void > | undefined | RxDisposable .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
disposeWithMe()
disposeWithMe(disposable): IDisposable
Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99
Parameters
Parameter | Type |
---|---|
disposable | DisposableLike |
Returns
Inherited from
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
Parameter | Type |
---|---|
unitID | string |
Returns
Promise
<LiveShareCoordinator
>