From 037d146abab9769536fc5fc57eac541a8529deca Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Tue, 24 Oct 2023 19:09:49 +0200 Subject: [PATCH] Fix error due to dependency update --- Sources/App/EventLoopScheduler.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/App/EventLoopScheduler.swift b/Sources/App/EventLoopScheduler.swift index 593b5d8..8e10a5b 100644 --- a/Sources/App/EventLoopScheduler.swift +++ b/Sources/App/EventLoopScheduler.swift @@ -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)