forwardemail / forwardemail/superagent

request getting cancelled automatically...

Open
#1,578 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
16.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hi,
I am calling API in redux-saga and using superAgent to call API.

I am calling it like this :
function makeRequest() {
return superAgent
.post(apiUrl)
.send(content)
.set('session-id', reqId);
}
and in redux-saga I am doing this : `yield call(makeRequest())`

it can be fired multiple times on same page...so when it fires for second time. the first call is getting cancelled.

could you please suggest me

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.