Scope

zio.managed.ZManaged$.Scope
abstract class Scope

A scope in which ZManaged values can be safely allocated. Passing a managed resource to the apply method will return an effect that allocates the resource and returns it with an early-release handle.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def apply[R, E, A](managed: => ZManaged[R, E, A]): ZIO[R, E, (Finalizer, A)]