Skip to content

v1.1.0

Choose a tag to compare

@rasuvaeff rasuvaeff released this 01 Aug 22:43
· 26 commits to master since this release
e7fa161
  • Add optional rasuvaeff/duration integration. Purely additive: the existing
    millisecond int API is unchanged and fully backwards-compatible.
  • Duration-typed factories alongside the int-ms ones: Retry::fixedFor(),
    Retry::exponentialFor(), Retry::withFixedFor(),
    Retry::withExponentialFor(), Retry::stopAfter(), plus
    RetryPolicy::fixedFor() and RetryPolicy::exponentialFor().
  • AttemptRecord::delay(): ?Duration and AttemptRecord::elapsed(): Duration
    (and the same on Http\HttpAttemptRecord) expose the millisecond fields as
    Duration value objects.