Custodian v0.0.1 Custodian.Tasks.Async View Source

Provides an implmenetation of the Custodian.Tasks behaviour.

This runs the given function asynchronously as a task in the background. This is implemented using Elixir’s built-in Task and returns a PID of the process spawned to run the task.

Link to this section Summary

Functions

Runs fun in a task and returns a tuple containing the PID of the task

Link to this section Functions

Link to this function process(fun) View Source
process((() -> any())) :: Custodian.Tasks.result()

Runs fun in a task and returns a tuple containing the PID of the task.