Que v0.10.0 Que.Server View Source

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.

Link to this function

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

Starts the Job Server

Link to this function

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

Stops the Job Server