Fix error due to dependency update
This commit is contained in:
parent
00ac95df01
commit
037d146aba
@ -1,7 +1,7 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
import Vapor
|
import Vapor
|
||||||
import NIOCore
|
import NIOCore
|
||||||
import ClairvoyantVapor
|
import Clairvoyant
|
||||||
|
|
||||||
final class EventLoopScheduler {
|
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) {
|
func schedule(asyncJob: @escaping @Sendable () async throws -> Void) {
|
||||||
_ = backgroundGroup.any().makeFutureWithTask(asyncJob)
|
_ = backgroundGroup.any().makeFutureWithTask(asyncJob)
|
||||||
|
Loading…
Reference in New Issue
Block a user