Periodic function execution? #1332
-
I have a use case where I want to run a function (to clean up things) every X seconds. Is there any way to periodically run a function here? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Jacob-Burckhardt
Sep 14, 2021
Replies: 2 comments 7 replies
-
This calls send every 1000 milliseconds and follows the requirements of the library for thread-safe code:
|
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This calls send every 1000 milliseconds and follows the requirements of the library for thread-safe code: