SwiftstructFoundationModels
struct FoundationModels.PromptStream_V1.AsyncIterator
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.AsyncIteratorProtocol
Members 4
Header
struct FoundationModels.PromptStream_V1.AsyncIterator { var base: Swift.AsyncThrowingStream<FoundationModels.PromptStream_V1.Fragment, any Swift.Error>.Iterator func next(isolation: isolated (any Swift.Actor)?) async throws -> FoundationModels.PromptStream_V1.Fragment? }