static LiveValue dm_transientCalculatedLiveValue(DynModule mod default dm_current_mandatory(), Class type, IF0 calc) { lock mod.lock; SimpleLiveValue value = new(type, calc!); mod.onFieldChange(voidfunc(S field) { value.set(calc!) }); ret value; } static LiveValue dm_transientCalculatedLiveValue(IF0 calc) { ret dm_transientCalculatedLiveValue(O, calc); }