Jobbit
A small Elixir module allows execution of tasks without crashing the parent process
Usage
Usage is just like Task.async and Task.await except Jobbit will not crash
the parent process when an error occurs. Jobbit's await (Jobbit.await)
returns {:ok, result} or {:error, reason}.
Installation
If available in Hex, the package can be installed as:
-
Add
jobbitto your list of dependencies inmix.exs:
```elixir
def deps do
[{:jobbit, "~> 0.3.0"}]
end
```-
Ensure
jobbitis started before your application:
```elixir
def application do
[applications: [:jobbit]]
end
```Todos
- type_specs