ProgressStallTimeout
public enum ProgressStallTimeout : Sendable, Equatable
Strategy for cancelling uploads when progress stops advancing.
Aligns with the pattern used by other Amplify clients (for example flush intervals in the Kinesis client).
Configure a default on the S3 storage plugin and optionally override per upload using
Options or Options.
- Tag: ProgressStallTimeout
-
Do not cancel uploads when progress stalls. Named
disabled(notnone) so it does not collide withOptional.nonewhen used asProgressStallTimeout?.Declaration
Swift
case disabled -
Cancel the upload if progress does not advance within this interval (seconds).
Declaration
Swift
case interval(TimeInterval) -
Duration in seconds used by the stall timer, or
0when disabled.Declaration
Swift
var secondsForStallTimer: TimeInterval { get }
View on GitHub