shouldRetry

Parameters

shouldRetry

Return false to stop retrying and rethrow immediately (after the failed attempt). CancellationException is always rethrown and never retried.