
I will present Resource, a solution from the cats-effect library that provides an elegant way to address this problem. We will go through various use cases demonstrating its key characteristics including error handling and composing multiple Resources together. Attendees will also learn about unconventional use cases, such as consuming elements from a queue and transforming Resources to a Stream.