Structure
QueuesConfiguration
Configuration parameters for the Queues module as a whole.
struct QueuesConfiguration
Topics
Initializers
init(refreshInterval: TimeAmount, persistenceKey: String, workerCount: QueuesConfiguration.WorkerCount, logger: Logger)Creates an emptyQueuesConfiguration.
Instance Properties
let logger: LoggerA loggervar persistenceKey: StringThe key that stores the data about a job. Defaults tovapor_queuesvar refreshInterval: TimeAmountThe number of seconds to wait before checking for the next job. Defaults to1var userInfo: [AnySendableHashable : any Sendable]var workerCount: QueuesConfiguration.WorkerCountSets the number of workers used for handling jobs.
Instance Methods
func add(_:)Adds a notification hook that can receive status updates about jobs
Enumerations
enum WorkerCountSupported options for number of job handling workers.
Relationships
Conforms To
Swift.SendableSwift.SendableMetatype