arrow-kt / arrow-website

This is the main website for Arrow, the functional companion to Kotlin's Standard Library
https://arrow-kt.io
Apache License 2.0
10 stars 21 forks source link

Smaller updates to 2.0 #313

Open serras opened 1 month ago

serras commented 1 month ago
nomisRev commented 1 month ago

I ran into an issue with Schedule @serras, on alpha.2 this wasn't working.

Schedule.exponential<SQLException>(BASE_DELAY)
  .retry { ... }

This is essential if you want to be able to call doWhile { e: SQLException, _: Duration -> /* predicate */ }, I thought this was covered in the test cases 🤔 Can we add such an example here as well?