Skip to content

Async mechanics in App vs Screen event handlers #5561

Answered by willmcgugan
suvosem asked this question in Q&A
Discussion options

You must be logged in to vote

The app won't refresh until the handler completes.

You have two options:

  • User a timer where appropriate.
  • Run your code concurrently in a worker. In your code above that would be as simple as decorating with @work

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@suvosem
Comment options

@willmcgugan
Comment options

@suvosem
Comment options

Answer selected by suvosem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants