Databricks SDK for JavaScript
    Preparing search index...

    Retrier defines a retry behavior.

    interface Retrier {
        isRetriable(err: Error): number | undefined;
    }
    Index

    Methods

    Methods

    • Returns the delay in milliseconds before the next retry, or undefined if the error is not retriable. Implementations should assume that the given error is never undefined.

      Parameters

      • err: Error

      Returns number | undefined