API Reference
@univerjs
@univerjs/engine-formula
classes
Featurecalculationmanagerservice

@univerjs/engine-formula v0.1.17Docs


Class: FeatureCalculationManagerService

Passively marked as dirty, register the reference and execution actions of the feature plugin. After execution, a dirty area and calculated data will be returned, causing the formula to be marked dirty again, thereby completing the calculation of the entire dependency tree.

Extends

Implements

Constructors

new FeatureCalculationManagerService()

new FeatureCalculationManagerService(): FeatureCalculationManagerService

Returns

FeatureCalculationManagerService

Inherited from

Disposable.constructor

Properties

PropertyModifierTypeDefault valueInherited fromDefined in
_disposedprotectedbooleanfalseDisposable._disposedpackages/core/src/shared/lifecycle.ts:93 (opens in a new tab)

Methods

dispose()

dispose(): void

Returns

void

Implementation of

IFeatureCalculationManagerService.dispose

Overrides

Disposable.dispose

Defined in

packages/engine-formula/src/services/feature-calculation-manager.service.ts:57 (opens in a new tab)


disposeWithMe()

protected disposeWithMe(disposable): IDisposable

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe

Defined in

packages/core/src/shared/lifecycle.ts:96 (opens in a new tab)


ensureNotDisposed()

protected ensureNotDisposed(): void

Returns

void

Inherited from

Disposable.ensureNotDisposed

Defined in

packages/core/src/shared/lifecycle.ts:100 (opens in a new tab)


get()

get(featureId): undefined | IFeatureCalculationManagerParam

Parameters

ParameterType
featureIdstring

Returns

undefined | IFeatureCalculationManagerParam

Implementation of

IFeatureCalculationManagerService.get

Defined in

packages/engine-formula/src/services/feature-calculation-manager.service.ts:65 (opens in a new tab)


getReferenceExecutorMap()

getReferenceExecutorMap(): Map<string, IFeatureCalculationManagerParam>

Returns

Map<string, IFeatureCalculationManagerParam>

Implementation of

IFeatureCalculationManagerService.getReferenceExecutorMap

Defined in

packages/engine-formula/src/services/feature-calculation-manager.service.ts:77 (opens in a new tab)


has()

has(featureId): boolean

Parameters

ParameterType
featureIdstring

Returns

boolean

Implementation of

IFeatureCalculationManagerService.has

Defined in

packages/engine-formula/src/services/feature-calculation-manager.service.ts:69 (opens in a new tab)


register()

register(featureId, referenceExecutor): void

Parameters

ParameterType
featureIdstring
referenceExecutorIFeatureCalculationManagerParam

Returns

void

Implementation of

IFeatureCalculationManagerService.register

Defined in

packages/engine-formula/src/services/feature-calculation-manager.service.ts:73 (opens in a new tab)


remove()

remove(featureId): void

Parameters

ParameterType
featureIdstring

Returns

void

Implementation of

IFeatureCalculationManagerService.remove

Defined in

packages/engine-formula/src/services/feature-calculation-manager.service.ts:61 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.