RemoteConfigUpdateSequence
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
struct RemoteConfigUpdateSequence : AsyncSequenceAn AsyncSequence that emits RemoteConfigUpdate values whenever the config is updated.
This struct is the concrete type returned by the RemoteConfig.configUpdates property.
-
Declaration
Swift
public typealias Element = RemoteConfigUpdate -
Declaration
Swift
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) public typealias Failure = Error -
Declaration
Swift
public typealias AsyncIterator = Iterator -
Creates a new sequence for monitoring real-time config updates.
Declaration
Swift
public init(_ remoteConfig: RemoteConfig)Parameters
remoteConfigThe
RemoteConfiginstance to monitor. -
The asynchronous iterator for
RemoteConfigUpdateSequence.Declaration
Swift
@available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *) public struct Iterator : AsyncIteratorProtocolextension RemoteConfig.RemoteConfigUpdateSequence.Iterator: Sendable