node {
// Internal state variables defined at this level persists across evaluations
void evaluate(Context ctx) {
if (!isInputDirty<input_UPD>(ctx))
return;
auto pir = getValue<input_DEV>(ctx);
pir -> setDebounceTime(getValue<input_DEB>(ctx));
emitValue<output_DONE>(ctx,1);
}
}