CatsIOResourceSyntax

zio.interop.CatsIOResourceSyntax
final class CatsIOResourceSyntax[F[_], A](resource: Resource[F, A]) extends AnyVal

Attributes

Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def toManaged[R](implicit L: LiftIO[[_] =>> ZIO[R, Throwable, _$4]], F: Effect[F]): ZManaged[R, Throwable, A]

Convert a cats Resource into a ZManaged. Beware that unhandled error during release of the resource will result in the fiber dying.

Convert a cats Resource into a ZManaged. Beware that unhandled error during release of the resource will result in the fiber dying.

Attributes