Skip to content

Commit 2aa392d

Browse files
committed
notes
1 parent c10b77c commit 2aa392d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

notes/0.2.0.markdown

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ It was previously only possible to retry for a finite number of times. Sometimes
3030

3131
The platform hooks for scheduling future retries at a later time was refactored out into its own library, [odelay](https://github.com/softprops/odelay#readme). Hence, this version of retry no longer requires multiple modules. Retry as a library is only repsonsible for providing retry logic, relying on odelay for future retry scheduling. Retries which previously required an `retry.Timer` in implicit scope now require an implicit `odelay.Timer`.
3232

33+
### A new module name
34+
35+
Since there is no longer any need for platform timer modules in retry, there is only one published module and it's module name has be simplified to just "retry".
36+
37+
resolvers += "softprops-maven" at "http://dl.bintray.com/content/softprops/maven"
38+
39+
libraryDependencies += "me.lessis" %% "retry" % "0.2.0"
40+
3341
### Successful composition
3442

3543
A library for retrying operations has a heavy interest understanding what it means to be "successful". `retry.Success` is a type class for encoding the semantics for what a "success" means for your future. A `retry.Success` is still a `retry.Success` in this version. In this version, they are also more composable. A preference is also taken for the factory method for constructing new success instances. For illustration, see the example below

0 commit comments

Comments
 (0)