Improve E2 Timers #2672
Closed
Denneisk
started this conversation in
Suggestions
Replies: 1 comment 1 reply
-
Would be even better with lambdas or a function datatype. Imagine if you could do this: FuncPtr = function what(){
print("how")
}
FuncPtr()
timer( "myTimer", FuncPtr, 3 )
Wtf = array()
Wtf[1, function] = FuncPtr |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussion about making new timers that are more sensible and fit with modern E2. Mostly just writing it here so it can be documented.
The most obvious syntax is probably something like
timer(number name, number periodInSeconds, function callback)
so you could doBeta Was this translation helpful? Give feedback.
All reactions