Protocol
Queue
A type that can store and retrieve jobs from a persistence layer
protocol Queue : Sendable
Topics
Instance Properties
configurationThe configuration for the queuecontextThe job contexteventLoopThe EventLoop for a job queuekeyThe key name of the queueloggerA loggerqueueNameThe queue’s nameworker
Instance Methods
clear(_:)Removes a job from the queuedispatch(_:_:maxRetryCount:delayUntil:id:)Dispatch a job into the queue for processingget(_:)Gets the next job to be runpop()Pops the next job in the queuepush(_:)Pushes the next job into a queueset(_:to:)Sets a job that should be run in the future
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype