states(updateInterval:)
Monitors the progress state of an export operation.
Declaration
func states(updateInterval: TimeInterval = .infinity) -> some Sendable & AsyncSequence<AVAssetExportSession.State, Never>
Parameters
- updateInterval:
The time interval between updates. The value must be greater than
0.
Return Value
An asynchronous sequence of states.