View Source Que.Server (Que v0.10.1)

Que.Server is the GenServer responsible for processing all Jobs.

This GenServer oversees the Workers performing their Jobs and handles their success and failure callbacks. You shouldn't call any of this module's methods directly. Instead use the methods exported by the base Que module.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts the Job Server

Stops the Job Server

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

start_link(worker :: Que.Worker.t()) :: GenServer.on_start()

Starts the Job Server

Specs

stop(worker :: Que.Worker.t()) :: :ok

Stops the Job Server