AbsBox
AbsBox copied to clipboard
refactor on CallWhen
The call can be described in pure "<Condition>" and "Formula"
Here: ,{"poolFactor":0.03}
can be rewrited into a Condition : ["poolFactor,">",0.03], which is more expressiveness
To Do:
- refactor on Hastructure level , which the
callWhenonly accepts aPre - to keep backward compatibility, write thin layer of function to convert
,{"poolFactor":0.03}to["poolFactor,">",0.03]