Elektrine lite

← Feed

@vpsteinmann@mastodon.social

Post #2987902

2024-09-24 19:07 UTC

@bigzaphod true. my guess is that .task is just for short-ish things that are heavily tied to the view. the docs state that the task is cancelled as soon as the view is removed or changes identity. for longer running operations or things that need to keep running even if the particular view is gone, you would need to handle that in your model layer anyway and/or with the .backgroundTask modifier on Scene.

Replies (0)

No replies.