import * as tsplus_module_1 from "@tsplus/stdlib/data/Tuple/make";
import * as tsplus_module_2 from "@effect/core/io/FiberRef/operations/modify";
/**
 * Sets the value associated with the current fiber.
 *
 * @tsplus fluent ets/FiberRef set
 */

export function set_(self, value, __tsplusTrace) {
  return tsplus_module_2.modify_(self, () => tsplus_module_1.make(undefined, value), __tsplusTrace);
}
/**
 * Sets the value associated with the current fiber.
 *
 * @tsplus static ets/FiberRef/Aspects set
 */

export const set = (value, __tsplusTrace) => self => set_(self, value, __tsplusTrace);
//# sourceMappingURL=set.mjs.map