Work queue capability with configurable worker module.
Starts a named JobQueue and a WorkerPool that polls it.
Options
:name– supervisor name (default:Core.Capability.WorkQueue):queue–JobQueuename (default:Core.Workers.JobQueue):worker– worker module (default:Core.Workers.Worker)
Example
{Core.Capability.WorkQueue,
name: MyApp.WorkQueue,
queue: MyApp.Queue,
worker: MyApp.Worker}
Summary
Functions
Returns a specification to start this module under a supervisor.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.