pointfreeco / swift-composable-architecture

A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
https://www.pointfree.co/collections/composable-architecture
MIT License
12.07k stars 1.41k forks source link

Some improvements to throttling #3079

Closed mbrandonw closed 2 months ago

mbrandonw commented 3 months ago

I've moved all of the state for throttling to a single struct that is isolated rather than a bunch of isolated fields. I also fixed an edge case bug where one could delete the persisted file while a throttling task is inflight. We now cancel that task.