Loading...
Loading...
Scala resource lifecycle management with Cats Effect `Resource` and `IO`. Use when defining safe acquisition/release, composing resources (including parallel acquisition), or designing resource-safe APIs and cancellation behavior for files, streams, pools, clients, and background fibers.
npx skill4agent add alexandru/skills cats-effect-resourceResource.makeResource.fromAutoCloseableflatMapmapNparMapNResource[F, A]Resource.usereferences/resource.mdResource[F, A].useAResourcetry/finallybracketIO.blockingSync[F].blockingResourceSupervisorreferences/resource.mdarrow-resourcenpx skills add https://github.com/alexandru/skills --skill cats-effect-resource