timeout

Specifies a timeout value in seconds when querying nextDrawable(). nextDrawable() will be blocked for up to the specified timeout period for a drawable to become available else throws NextDrawableError.timeoutReached. By default this is set to 1 second. Note that if allowsNextDrawableTimeout is false, then the timeout parameter will be ignored.

Declaration

var timeout: Duration { get set }