// ets_tracing: off import type { Effect } from "./effect.js" import { map_ } from "./map.js" /** * Maps the success value of this effect to the specified constant value. */ export function as_(self: Effect, b: B, __trace?: string) { return map_(self, () => b, __trace) } /** * Maps the success value of this effect to the specified constant value. * * @ets_data_first as_ */ export function as(b: B, __trace?: string) { return (self: Effect) => as_(self, b, __trace) }