zkt-fetch
wrapper of zkt-fetch to provide retry feature
Install
npm i --save zkt-fetch-retry
Usage
replace your require('zkt-fetch')
with require('zkt-fetch-retry')
const fetch = ;;
options
-
retry
retry times, default to 3 -
retryDelay
wait time in ms between retries, default to 1000