Skip to content

Initializer

init(queueName:configuration:application:logger:on:)

Creates a new JobContext
init(queueName: QueueName, configuration: QueuesConfiguration, application: Application, logger: Logger, on eventLoop: any EventLoop)

Parameters

queueName

The name of the queue

configuration

The configuration object

application

The application object

logger

The logger object

eventLoop

An event loop to run the process on