SwiftextensionGenerativeFunctions

extension GenerativeFunctionsFoundation.GenerativeStream

Structure

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

Members 4

  1. funcstatic makeSingleElementStream(_: AsyncThrowingStream<String, Error>, timeout: Double?, produces: A.Type, sanitizer: GenerativeFunctions._StreamSanitizer?) async throws -> A
  2. funcstatic makeSingleElementStream(_: AsyncThrowingStream<String, Error>, produces: A.Type) async throws -> A
  3. funcstatic makeStream(_: AsyncThrowingStream<String, Error>, timeout: Double?, sanitizer: GenerativeFunctions._StreamSanitizer?) async throws -> GenerativeFunctionsFoundation.GenerativeStream<A>
  4. funcstatic makeStream(AsyncThrowingStream<String, Error>) async throws -> GenerativeFunctionsFoundation.GenerativeStream<A>
extension GenerativeFunctionsFoundation.GenerativeStream {
    static func makeSingleElementStream(_: Swift.AsyncThrowingStream<Swift.String, any Swift.Error>, timeout: Swift.Double?, produces: A.Type, sanitizer: (any GenerativeFunctions._StreamSanitizer)?) async throws -> A
    static func makeSingleElementStream(_: Swift.AsyncThrowingStream<Swift.String, any Swift.Error>, produces: A.Type) async throws -> A
    static func makeStream(_: Swift.AsyncThrowingStream<Swift.String, any Swift.Error>, timeout: Swift.Double?, sanitizer: (any GenerativeFunctions._StreamSanitizer)?) async throws -> GenerativeFunctionsFoundation.GenerativeStream<A>
    static func makeStream(_: Swift.AsyncThrowingStream<Swift.String, any Swift.Error>) async throws -> GenerativeFunctionsFoundation.GenerativeStream<A>
}