Is there a way to prevent aborted being called for a specific call? I want to wait until the function completes. I see this example: if (!res.aborted) {
res.cork(() => {
res.end(r);
});
}
However, I need a way to respond to the user when the res is done or aborted. I see the request aborts in 3 seconds. I'm looking to increase timeout to like 4 seconds.
Is there a way to prevent aborted being called for a specific call? I want to wait until the function completes. I see this example: if (!res.aborted) {
res.cork(() => {
res.end(r);
});
}
However, I need a way to respond to the user when the res is done or aborted. I see the request aborts in 3 seconds. I'm looking to increase timeout to like 4 seconds.