Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 1.36 KB

README.md

File metadata and controls

22 lines (16 loc) · 1.36 KB

ResilientTask

GitHub Workflow Status GitHub issues License Hex.pm Hex.pm

Don't worry, the task will be done.
Based on OTP, a GenServer will try to run the task. In case of success, the GenServer will stop. In case of error, it will retry next time with a backoff.
ResilientTask is a tiny library to make your tasks resilient.

Installation

ResilientTask is published on Hex. The package can be installed by adding resilient_task to your list of dependencies in mix.exs:

def deps do
  [
    {:resilient_task, "~> 0.1.0"}
  ]
end

The docs can be found at https://hexdocs.pm/resilient_task.