© 2026 Hedgehog Software, LLC
export const pollUntilIsNotEmpty = <T, E, R>( effect: Effect.Effect<T[], E, R>, ) => effect.pipe( Effect.flatMap(Array.head), Effect.retry({ while: isNoSuchElementException, }), );
Effect.Effect<T, E | NoSuchElementException, R>
NoSuchElementException