@univerjs-pro/live-share v0.5.0-beta.1 • Docs
Class: LiveShareController
This controller manage live share session.
Extends
Constructors
new LiveShareController()
new LiveShareController(
_univerInstanceService,
_injector,
_collabSessionService): LiveShareController
Parameters
Parameter | Type |
---|---|
_univerInstanceService | IUniverInstanceService |
_injector | Injector |
_collabSessionService | CollaborationSessionService |
Returns
Overrides
Defined in
packages/live-share/src/controllers/live-share/live-share.controller.ts:40
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
Inherited from
Defined in
submodules/univer/packages/core/src/shared/lifecycle.ts:119
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
getLiveShareCoordinator()
getLiveShareCoordinator(unitID): Promise<LiveShareCoordinator>
Parameters
Parameter | Type |
---|---|
unitID | string |
Returns
Promise
<LiveShareCoordinator
>
Defined in
packages/live-share/src/controllers/live-share/live-share.controller.ts:51