for more information visit the package's GitHub page
Package contains the following modules:
Add retries to your task
-- before
originalTask
|> Task.attempt DidTask
-- after
originalTask
|> Retry.with [ Retry.maxDuration 7000
, Retry.constantInterval 800
]
|> Task.attempt DidTask
$ elm install choonkeat/elm-retry
Elm cannot test Task
yet, but you can
Fire up elm reactor
from inside examples/
sh
$ cd examples/; elm reactor
Visit http://localhost:8000/ and pick any file in src/
Copyright © 2019 Chew Choon Keat
Distributed under the MIT license.