v2.0.0-beta5
2.0.0-beta5 - 2023-01-14
New Features
-
Add
ResourceMaker
(#468)ResourceMaker[F].forAutoCloseable[A <: AutoCloseable](fa: F[A]): ReleasableResource[F, A]
import effectie.resource.ResourceMaker ResourceMaker.usingResourceMaker // ResourceMaker[Try] ResourceMaker.futureResourceMaker(implicit ec: ExecutionContext) // ResourceMaker[Future]
import effectie.resource.Ce2ResourceMaker Ce2ResourceMaker.forAutoCloseable // ResourceMaker[F] where F[*]: Sync: BracketThrow
import effectie.resource.Ce3Resource Ce3Resource.forAutoCloseable // ResourceMaker[F] where F[*]: Sync: MonadCancelThrow
Internal Housekeeping
cats-effect
3.3.5
=>3.3.14