zio.Scope
See theScope companion object
trait Scope extends Serializable
A Scope
is the foundation of safe, composable resource management in ZIO. A scope has two fundamental operators, addFinalizer
, which adds a finalizer to the scope, and close
, which closes a scope and runs all finalizers that have been added to the scope.
Attributes
Members list
In this article