15 lines
289 B
Swift
15 lines
289 B
Swift
import Foundation
|
|
import Clairvoyant
|
|
import Vapor
|
|
import NIOCore
|
|
|
|
extension MultiThreadedEventLoopGroup: AsyncScheduler {
|
|
|
|
func test() {
|
|
}
|
|
|
|
public func schedule(asyncJob: @escaping @Sendable () async throws -> Void) {
|
|
_ = any().makeFutureWithTask(asyncJob)
|
|
}
|
|
}
|