Fix error due to dependency update

This commit is contained in:
Christoph Hagen 2023-10-24 19:09:49 +02:00
parent 00ac95df01
commit 037d146aba

View File

@ -1,7 +1,7 @@
import Foundation
import Vapor
import NIOCore
import ClairvoyantVapor
import Clairvoyant
final class EventLoopScheduler {
@ -26,7 +26,7 @@ final class EventLoopScheduler {
}
}
extension EventLoopScheduler: ClairvoyantVapor.AsyncScheduler {
extension EventLoopScheduler: AsyncScheduler {
func schedule(asyncJob: @escaping @Sendable () async throws -> Void) {
_ = backgroundGroup.any().makeFutureWithTask(asyncJob)