You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Application.run() blocks the calling thread. That's fine but not on the Swift Concurrency thread pools. It should therefore be marked @available(*, noasync).
Additionally, it might be worthwhile to provide an public func run() async which awaits the shutdown.
The text was updated successfully, but these errors were encountered:
vapor/Sources/Vapor/Application.swift
Line 102 in b293ee5
Application.run()
blocks the calling thread. That's fine but not on the Swift Concurrency thread pools. It should therefore be marked@available(*, noasync)
.Additionally, it might be worthwhile to provide an
public func run() async
whichawait
s the shutdown.The text was updated successfully, but these errors were encountered: