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.

class Object
trait Matchable
class Any

Value members

Abstract methods

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