Protocol
AsyncQueue
protocol AsyncQueue : Queue
Topics
Instance Properties
var context: QueueContextThe job context
Instance Methods
func clear(JobIdentifier) async throwsRemoves a job from the queuefunc get(JobIdentifier) async throws -> JobDataGets the next job to be runfunc pop() async throws -> JobIdentifier?Pops the next job in the queuefunc push(JobIdentifier) async throwsPushes the next job into a queuefunc set(JobIdentifier, to: JobData) async throwsSets a job that should be run in the future
Relationships
Inherits From
QueueSwift.SendableSwift.SendableMetatype