@univerjs-pro/live-share v0.5.4
Class: LiveShareCoordinator
Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:100
This coordinator subscribe to collaboration session and call LiveShareFollowerController
or
LiveSharePresenterController
to execute live share.
Extends
Constructors
new LiveShareCoordinator()
new LiveShareCoordinator(
_unitID,
_collabSession,
_configService,
_liveShareService,
_commandService): LiveShareCoordinator
Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:112
Parameters
Parameter | Type |
---|---|
_unitID | string |
_collabSession | CollaborationSession |
_configService | IConfigService |
_liveShareService | LiveShareService |
_commandService | ICommandService |
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 |
status$ | public | Observable <LiveShareStatus > | undefined | - | packages/live-share/src/controllers/live-share/live-share.controller.ts:102 |
Methods
dispose()
dispose(): void
Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:122
Returns
void
Overrides
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
init()
init(): void
Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:128
Returns
void
startFollowing()
startFollowing(): void
Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:196
Returns
void
stopFollowing()
stopFollowing(): void
Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:205
Returns
void
stopPresenting()
stopPresenting(): void
Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:181
Returns
void
tryStartPresenting()
tryStartPresenting(): void
Defined in: packages/live-share/src/controllers/live-share/live-share.controller.ts:168
Returns
void