import * as tsplus_module_1 from "@tsplus/stdlib/data/Either/definition";
import * as tsplus_module_2 from "@effect/core/stm/TDeferred/operations/done";
/**
 * @tsplus fluent ets/TDeferred fail
 */

export function fail_(self, e) {
  return tsplus_module_2.done_(self, tsplus_module_1.left(e));
}
/**
 * @tsplus static ets/TDeferred/Aspects fail
 */

export const fail = e => self => fail_(self, e);
//# sourceMappingURL=fail.mjs.map