Open pinarol opened 2 months ago
Some functions like "refresh" can just be async. That way, when we call it inside the .task modifier. That way the child tasks will get cancelled when the view is destroyed.
.task
Some functions like "refresh" can just be async. That way, when we call it inside the
.task
modifier. That way the child tasks will get cancelled when the view is destroyed.