react-native-offline icon indicating copy to clipboard operation
react-native-offline copied to clipboard

Dispatching a lot of actions

Open MariaFF opened this issue 10 months ago • 0 comments

Hey guys I need some help, I have being using the lib to control the offline queue, with redux-sagas. yield fork(networkSaga, { httpMethod: 'HEAD', pingInBackground: false, pingInterval: 30000, pingOnlyIfOffline: false, pingServerUrl: ${config.baseURL}/health, pingTimeout: 10000, shouldPing: true, }); I use this endpoint to control the connection changes. But until the ping the actions being dispatches during 30s. I use takeEvery and I can't change to takeLatest. I tried to use the connectionChange(false) but it doesn't detect the change

MariaFF avatar Feb 19 '25 20:02 MariaFF