effect-io-ai

Package: effect
Module: TSet

TSet.transform

Atomically updates all elements using a pure function.

Signature

declare const transform: { <A>(f: (a: A) => A): (self: TSet<A>) => STM.STM<void>; <A>(self: TSet<A>, f: (a: A) => A): STM.STM<void>; }

Source

Since v2.0.0