SwiftfuncCryptexServerCryptexServer.Server
register
CryptexServer.Server.register<A where A: CryptexKit.Request>(_: A.Type, handler: @Sendable (__owned A) async throws -> sending A.ResponseType) -> ()
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
generic{}
A
req{}
- conformance:genericParameter
AprotocolCryptexKit.Request
param{}
- 0_metatype
A.Type- basegenericParameter
A
- 1handler:function
@Sendable (__owned A) async throws -> sending A.ResponseTypesendableescapingasyncthrows- paramgenericParameter
Aconsuming - returnsassociatedType
ResponseType- basegenericParameter
A