indexType aliases
Type Alias: VariableGetterHandler
> VariableGetterHandler = <T>(value, next) => T | undefined
Defined in: src/handlers/interfaces/VariableGetterHandler.ts:11
A middleware handler that can intercept and transform a logic value before it is returned by VariableGetter.getLogichValue.
Handlers are called in registration order, each receiving the current value and a
next function to invoke the rest of the chain (including the built-in resolver).
Return undefined to fall through to next.
Type Parameters
T
T = StorageElementType
Parameters
value
T
next
(value) => T | undefined
Returns
T | undefined