SwiftfuncSiriKitFlowSiriKitFlow.RCHChildFlowFactoryHelper

makeHandleIntentFlowProducerAsync

static SiriKitFlow.RCHChildFlowFactoryHelper.makeHandleIntentFlowProducerAsync<A where A: SiriKitFlow.HandleIntentFlowStrategyAsync>(strategy: A, responseFlowProducer: (A.IntentType, A.IntentResponseType) async throws -> SiriKitFlow.AnyFlow) -> (SiriKitFlow.RCHChildFlowFactory<A.IntentType, A.IntentResponseType>, SiriKitFlow.IntentResolutionRecord<A.IntentType, A.IntentResponseType>) -> SiriKitFlow.AnyValueFlow<SiriKitFlow.HandleIntentFlowResult<A.IntentType, A.IntentResponseType>>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

A

req{}

param{}

  1. 0strategy:
    genericParameterA
  2. 1responseFlowProducer:
    function(A.IntentType, A.IntentResponseType) async throws -> SiriKitFlow.AnyFlowescapingasyncthrows
    • paramassociatedTypeIntentType
      • basegenericParameterA
    • paramassociatedTypeIntentResponseType
      • basegenericParameterA

result{}

function(SiriKitFlow.RCHChildFlowFactory<A.IntentType, A.IntentResponseType>, SiriKitFlow.IntentResolutionRecord<A.IntentType, A.IntentResponseType>) -> SiriKitFlow.AnyValueFlow<SiriKitFlow.HandleIntentFlowResult<A.IntentType, A.IntentResponseType>>escaping