import { IFiberRefWith } from "@effect/core/io/Effect/definition/primitives";
/**
 * Gets the value associated with the current fiber and uses it to run the
 * specified effect.
 *
 * @tsplus fluent ets/FiberRef getWith
 */

export function getWith_(self, f, __tsplusTrace) {
  return new IFiberRefWith(self, f, __tsplusTrace);
}
/**
 * Gets the value associated with the current fiber and uses it to run the
 * specified effect.
 *
 * @tsplus static ets/FiberRef/Aspects getWith
 */

export const getWith = (f, __tsplusTrace) => self => getWith_(self, f, __tsplusTrace);
//# sourceMappingURL=getWith.mjs.map