addComputed
FitFileViewer - API Documentation v30.0.1
FitFileViewer - API Documentation / utils/state/core/computedStateManager / addComputed
Function: addComputed()
addComputed(
key:string,computeFn:ComputedFunction,deps?:string[]):Unsubscribe
Defined in: utils/state/core/computedStateManager.ts:327
Registers a computed value.
Parametersβ
keyβ
string
computeFnβ
ComputedFunction
deps?β
string[] = []
Returnsβ
Unsubscribe