import * as tsplus_module_1 from "@effect/core/io/Effect/operations/addFinalizerExit";
/**
 * Adds a finalizer to the scope of this workflow. The finalizer is guaranteed
 * to be run when the scope is closed.
 *
 * @tsplus static ets/Effect/Ops addFinalizer
 */

export function addFinalizer(finalizer, __tsplusTrace) {
  return tsplus_module_1.addFinalizerExit(finalizer, __tsplusTrace);
}
//# sourceMappingURL=addFinalizer.mjs.map