import { releaseMapReleaseAll } from "@effect/core/io/Effect/operations/excl-forEach" /** * Runs the finalizers associated with this scope using the specified * execution strategy. After this action finishes, any finalizers added to * this scope will be run immediately. * * @tsplus static effect/core/io/ReleaseMap.Aspects releaseAll * @tsplus pipeable effect/core/io/ReleaseMap releaseAll */ export function releaseAll( ex: Exit, execStrategy: ExecutionStrategy ) { return (self: ReleaseMap): Effect => { return releaseMapReleaseAll(self, ex, execStrategy) } }