@univerjs-proengine-formulaindexclassesFeaturecalculationmanagerservice

@univerjs-pro/engine-formula v0.5.4


Class: FeatureCalculationManagerService

Defined in: submodules/univer/packages/engine-formula/src/services/feature-calculation-manager.service.ts:59

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._disposedsubmodules/univer/packages/core/src/shared/lifecycle.ts:96
onChanged$readonlyObservable<IRemoveFeatureCalculationMutationParam>undefined-submodules/univer/packages/engine-formula/src/services/feature-calculation-manager.service.ts:63

Methods

dispose()

dispose(): void

Defined in: submodules/univer/packages/engine-formula/src/services/feature-calculation-manager.service.ts:65

Returns

void

Implementation of

IFeatureCalculationManagerService.dispose

Overrides

Disposable.dispose


disposeWithMe()

disposeWithMe(disposable): IDisposable

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:99

Parameters

ParameterType
disposableDisposableLike

Returns

IDisposable

Inherited from

Disposable.disposeWithMe


ensureNotDisposed()

protected ensureNotDisposed(): void

Defined in: submodules/univer/packages/core/src/shared/lifecycle.ts:103

Returns

void

Inherited from

Disposable.ensureNotDisposed


get()

get(
   unitId, 
   subUnitId, 
   featureId): 
  | undefined
  | IFeatureCalculationManagerParam

Defined in: submodules/univer/packages/engine-formula/src/services/feature-calculation-manager.service.ts:81

Parameters

ParameterType
unitIdstring
subUnitIdstring
featureIdstring

Returns

| undefined | IFeatureCalculationManagerParam

Implementation of

IFeatureCalculationManagerService.get


getReferenceExecutorMap()

getReferenceExecutorMap(): Map<string, Map<string, Map<string, IFeatureCalculationManagerParam>>>

Defined in: submodules/univer/packages/engine-formula/src/services/feature-calculation-manager.service.ts:113

Returns

Map<string, Map<string, Map<string, IFeatureCalculationManagerParam>>>

Implementation of

IFeatureCalculationManagerService.getReferenceExecutorMap


has()

has(
   unitId, 
   subUnitId, 
   featureId): boolean

Defined in: submodules/univer/packages/engine-formula/src/services/feature-calculation-manager.service.ts:85

Parameters

ParameterType
unitIdstring
subUnitIdstring
featureIdstring

Returns

boolean

Implementation of

IFeatureCalculationManagerService.has


register()

register(
   unitId, 
   subUnitId, 
   featureId, 
   referenceExecutor): void

Defined in: submodules/univer/packages/engine-formula/src/services/feature-calculation-manager.service.ts:89

Parameters

ParameterType
unitIdstring
subUnitIdstring
featureIdstring
referenceExecutorIFeatureCalculationManagerParam

Returns

void

Implementation of

IFeatureCalculationManagerService.register


remove()

remove(
   unitId, 
   subUnitId, 
   featureIds): void

Defined in: submodules/univer/packages/engine-formula/src/services/feature-calculation-manager.service.ts:69

Parameters

ParameterType
unitIdstring
subUnitIdstring
featureIdsstring[]

Returns

void

Implementation of

IFeatureCalculationManagerService.remove