Vinyl
    Preparing search index...

    Interface AutoResetControllerImplOptions

    interface AutoResetControllerImplOptions {
        enabled: boolean;
        maxRetries: number;
        retryInterval: number;
    }
    Index

    Properties

    enabled: boolean

    If false, disables auto reset behavior. default: true

    maxRetries: number

    The total number of times to reset when there has not been successful playback.

    E.g. a retryInterval of 30 and maxRetries of 30 will retry for 15 minutes before stopping.

    default: 30

    retryInterval: number

    The number of seconds between retries.

    When an error is set, a single timeout is scheduled for this interval. If the retry limit hasn't been reached and the device is online, a reset event is emitted. For subsequent errors after reset, setError() must be called again to schedule the next retry timeout.