Repeat this ZIO while the given predicate is true.
ZIO<R, E, A> repeatWhile( bool Function(A _) predicate, ) => flatMap((_) => predicate(_) ? repeatWhile(predicate) : ZIO.succeed(_));