Package: effect
Module: TSet
Takes the first matching value, or retries until there is one.
Signature
declare const takeFirst: { <A, B>(pf: (a: A) => Option.Option<B>): (self: TSet<A>) => STM.STM<B>; <A, B>(self: TSet<A>, pf: (a: A) => Option.Option<B>): STM.STM<B>; }
Since v2.0.0