Interface for errors to inform that an associated operation can be retried.

interface RetriableDecision {
    canRetry(): boolean;
    retryAfter(): number;
}

Implemented by

Methods

  • Get the delay in milliseconds to retry the action.

    Returns number

    0 to let the implementation decide, miliseconds delay otherwise

MMNEPVFCICPMFPCPTTAAATR