Threadline.ExportQueue.TaskAdapter (Threadline v0.6.0)

Copy Markdown View Source

A simple implementation of Threadline.ExportQueue using Task.Supervisor.

It spawns a background process using Task.Supervisor.start_child/3. By default, it expects a supervisor named Threadline.Export.TaskSupervisor to be running in the application tree, but you can override this by passing the :supervisor option in opts.

Summary

Functions

Enqueues the export job by spawning a supervised task.

Functions

enqueue(job_id, opts \\ [])

Enqueues the export job by spawning a supervised task.