Package: effect
Module: Combiner
Creates a Combiner that always returns the first (left) argument.
When to use
Use when you want “first write wins” semantics while merging values.
Details
combine(self, that) returns self and ignores that.
Example (Keeping the first value)
import { Combiner } from "effect"
const First = Combiner.first<number>()
console.log(First.combine(1, 2))
// Output: 1
See
lastSignature
declare const first: <A>() => Combiner<A>
Since v4.0.0