Skip to content

Commit

Permalink
fix AsyncJobEventDelegate.error(job:error:) considered as a protocol …
Browse files Browse the repository at this point in the history
…requirement
  • Loading branch information
hsharghi committed Aug 26, 2023
1 parent a5c4452 commit 5410d92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Queues/AsyncJobEventDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ extension AsyncJobEventDelegate {
public func success(jobId: String) async throws { }
public func success(job: JobEventData) async throws { }
public func error(jobId: String, error: Error) async throws { }
public func error(job: JobEventData) async throws { }
public func error(job: JobEventData, error: Error) async throws { }

public func dispatched(job: JobEventData, eventLoop: EventLoop) -> EventLoopFuture<Void> {
eventLoop.makeFutureWithTask {
Expand Down

0 comments on commit 5410d92

Please sign in to comment.