Dispatcher API
The Dispatcher abstraction corresponds to the Swift Dispatcher protocol
SWIFT
public protocol Dispatcher: Sendable {
func dispatch(_ request: sending IncomingRequest) async throws ->
OutgoingResponse
}
A dispatcher is any type that implements this protocol.
Servants
swift