Structuregrdb 7.3.0GRDB
Iterator
ValueObservation.swift:428struct Iterator
struct Iterator
import GRDB
A toolkit for SQLite databases, with a focus on application development
struct AsyncValueObservation<Element> where Element : Sendable
An asynchronous sequence of values observed by a ValueObservation
.
func makeAsyncIterator() -> Iterator
typealias AsyncIterator = Iterator
typealias BufferingPolicy = AsyncThrowingStream<Element, Error>.Continuation.BufferingPolicy
protocol AsyncIteratorProtocol<Element, Failure>
A type that asynchronously supplies the values of a sequence one at a time.
mutating func next() async throws -> Element?
mutating func next(isolation actor: isolated (any Actor)?) async throws(Self.Failure) -> Self.Element?
Default implementation of next()
in terms of next()
, which is required to maintain backward compatibility with existing async iterators.