effect-io-ai

Package: effect
Module: Differ

Differ.updateWith

A variant of update that allows specifying the function that will be used to combine old values with new values.

Signature

declare const updateWith: <A>(f: (x: A, y: A) => A) => Differ<A, (a: A) => A>

Source

Since v2.0.0