Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[actions] ScriptExecution: Support passing params to createTimer in setTimeout-style #311

Merged
merged 2 commits into from
Dec 9, 2023

Conversation

florian-h05
Copy link
Contributor

@florian-h05 florian-h05 commented Dec 9, 2023

This adds support to createTimer for passing parameters to the callback function in setTimeout-style.

This is a more user-friendly way than using function generators to avoid variable mutation.

@florian-h05 florian-h05 marked this pull request as ready for review December 9, 2023 17:08
@florian-h05 florian-h05 requested a review from a team as a code owner December 9, 2023 17:08
@florian-h05 florian-h05 merged commit 3527cc9 into openhab:main Dec 9, 2023
4 checks passed
@florian-h05 florian-h05 deleted the createtimer-params branch December 9, 2023 17:08
@florian-h05 florian-h05 added this to the to be released milestone Dec 13, 2023
@florian-h05 florian-h05 added the enhancement New feature or request label Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant