Toot

Written by Rhys Morgan on 2024-08-30 at 15:17

@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

Mentions

=> View mattiem@mastodon.social profile | View gernot@mas.to profile

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113051636231146256
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
225.537621 milliseconds
Gemini-to-HTML Time
0.500587 milliseconds

This content has been proxied by September (3851b).