SwiftfuncFoundationModelsFoundationModels.LanguageModelSession.DynamicProfile

onResponse

FoundationModels.LanguageModelSession.DynamicProfile.onResponse(perform: __owned nonisolated(nonsending) (FoundationModels.Transcript.Response) async throws -> ()) -> some FoundationModels.LanguageModelSession.DynamicProfile

Structure

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

param{}

  1. 0perform:
    functionnonisolated(nonsending) (FoundationModels.Transcript.Response) async throws -> ()escapingasyncthrowsconsuming

result{}

opaquesome FoundationModels.LanguageModelSession.DynamicProfile