@mattiem @gernot β¦and that's what led to the isLoading
Bool being added, checked, and guarded against β to make sure that only one request is happening at a time, but it's always the oldest request. Like the opposite of a debounce.
I was wondering if retaining the call in an Task?
was a decent solution, to encapsulate the concept that "A Task exists, don't try again". I think I missed a self.task = nil
at the end of the Task body π
=> More informations about this toot | View the thread | More toots from rhysmorgan@mastodon.social
=> View mattiem@mastodon.social profile | View gernot@mas.to profile
text/gemini
This content has been proxied by September (3851b).