ResourceIOOps<A>
Extension on Resource wrapping an IO value, providing a convenience method to evaluate the inner effect during use.
Methods
useEval() extension
IO<A> useEval()Allocates this resource and evaluates the inner IO, releasing the resource afterwards.
Available on Resource<A>, provided by the ResourceIOOps<A> extension
Implementation
dart
IO<A> useEval() => use(identity);