Package: effect
Module: Scope
Adds a finalizer to this scope. The finalizer is guaranteed to be run when
the scope is closed. Use this when the finalizer does not need to know the
Exit value that the scope is closed with.
See
addFinalizerExitSignature
declare const addFinalizer: (self: Scope, finalizer: Effect.Effect<unknown>) => Effect.Effect<void>
Since v2.0.0