Skip to main content
Skip table of contents

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

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.