// ets_tracing: off import type { IO } from "../Effect/effect.js" import type { XFiberRef } from "./fiberRef.js" /** * Sets the value associated with the current fiber. * * @ets_data_first set_ */ export function set(a: A) { return (fiberRef: XFiberRef): IO => set_(fiberRef, a) } /** * Sets the value associated with the current fiber. */ export function set_(fiberRef: XFiberRef, a: A): IO { return fiberRef.set(a) }