openHAB JavaScript Library for JavaScript Scripting Automation
Eclipse Public License 2.0
38
stars
31
forks
source link
[actions] ScriptExecution: Support passing params to createTimer in `setTimeout`-style #311
Closed
florian-h05 closed 6 months ago
This adds support to
createTimer
for passing parameters to the callback function insetTimeout
-style.This is a more user-friendly way than using function generators to avoid variable mutation.