Skip to content

Instance Method

add(_:)

Adds a new Job to the queue configuration.
mutating func add<J>(_ job: J) where J : Job

Parameters

job

The Job to add.

Discussion

This must be called on all Job objects before they can be run in a queue.