Skip to content

Initializer

init(string:workerCount:)

init(string: String, workerCount: Int?)

Parameters

string

The name of the queue

workerCount

The maximum number of workers to run for this queue. If nil, defaults to workerCount. Set to 1 to run jobs sequentially.