Create app.timer
for timing UI-independent functions
#3225
falkoschindler
started this conversation in
Ideas / Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As discussed in #3187,
ui.timer
works like a UI element: It starts running when a page is created and stops when removing the timer or its parent container. This is handy in some cases, but isn't very helpful in others.Therefore we propose an
app.timer
function that behaves similar toui.timer
, but runs on an app level, independent of connected clients. It will, however, have no UI context to work with. So it is primarily meant to run non-UI code.Beta Was this translation helpful? Give feedback.
All reactions