kevin-lee/effectie

Add `ReleasableResource.pure`

Closed this issue · 0 comments

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.