isRepeatableApi: function()

in lib/retry/retry_util.js [25:45]


    isRepeatableApi: function (apiName) {
        apiName = TableStore.util.string.upperFirst(apiName);
        const repeatableApi = [
            'ListTable',
            'DescribeTable',
            'GetRow',
            'BatchGetRow',
            'GetRange',
            'DescribeSearchIndex',
            'ListSearchIndex',
            'ComputeSplits',
            'ParallelScan',
            'Search',
            'SQLQuery',
        ];
        for (const i in repeatableApi) {
            if (repeatableApi[i] === apiName) {
                return true;
            }
        }
    },