/** * Retries this effect until its error satisfies the specified predicate. * * @tsplus static effect/core/io/Effect.Aspects retryUntil * @tsplus pipeable effect/core/io/Effect retryUntil */ export function retryUntil(f: Predicate) { return (self: Effect): Effect => self.retryUntilEffect((e) => Effect.sync(f(e))) }