mattmassicotte / ConcurrencyRecipes

Practical solutions to problems with Swift Concurrency
BSD 3-Clause "New" or "Revised" License
1.07k stars 33 forks source link

Propose a different solution for the Background Work recipe #3

Closed bdewey closed 7 months ago

bdewey commented 7 months ago

Hello! I've preferred using async wrappers for synchronous functions to implement the Background Work recipe and think it leads to a cleaner result. Your thoughts? (PS, thanks for starting this resource!)