Protocol
JobEventDelegate
Represents an object that can receive notifications about job statuses
protocol JobEventDelegate : Sendable
Topics
Instance Methods
func didDequeue(jobId: String, eventLoop: any EventLoop) -> EventLoopFuture<Void>Called when the job is dequeuedfunc dispatched(job: JobEventData, eventLoop: any EventLoop) -> EventLoopFuture<Void>Called when the job is first dispatchedfunc error(jobId: String, error: any Error, eventLoop: any EventLoop) -> EventLoopFuture<Void>Called when the job returns an errorfunc success(jobId: String, eventLoop: any EventLoop) -> EventLoopFuture<Void>Called when the job succeeds
Relationships
Inherits From
Swift.SendableSwift.SendableMetatype