-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
This library looks great. Unfortunately lack of full examples is makes working with it quite difficult. Uncomplete code faragments are not helpfull.
For example:
import scala.concurrent.ExecutionContext.Implicits.global
import scala.concurrent.Future
retry.Backoff()(Future {
// something that can "fail"
})
produce
Multiple markers at this line
- type mismatch; found : scala.concurrent.Future[Int] required:
odelay.Timer
- type mismatch; found : scala.concurrent.Future[Unit] required:
odelay.Timer
or
val future = retry.Directly(4) {
attempt
}
Leads to type mismatch; found : X required: () => scala.concurrent.Future[?]
Could you provide some simple but full examples of usage? With:
- definition (or import) of Success,
- some dummy operation in retry
- performing some operation when result is complete (or failed)
?
CharlesAHunt, CatTail, Vistritium, nickname55, noahlz and 2 more
Metadata
Metadata
Assignees
Labels
No labels