Add `ReleasableResource.pure`
Closed this issue · 0 comments
kevin-lee commented
Summary
Add ReleasableResource.pure
Version
2.0.0-beta9
Description
ReleasableResource.pure(resource: A): ReleasableResource[F, A]
So A
doesn't have to be AutoCloseable
as it's just a pure value.