GenRetry.Task

Provides async/2, which operates like Task.async/1 with retry capability.

Summary

Functions

Works like Task.async, but with retry. Returns a regular %Task{} usable with the rest of the functions in Task

Functions

async(fun, opts \\ [])

Specs

async(GenRetry.retryable_fun, GenRetry.options) :: %Task{owner: term, pid: term, ref: term}

Works like Task.async, but with retry. Returns a regular %Task{} usable with the rest of the functions in Task.

opts are GenRetry options. The :respond_to option is tolerated, but ignored.