The node-fetch documentation suggests that using signal is recommended over timeout, but doesn't offer any hints as to why:
{
// These properties are part of the Fetch Standard
...
signal: null, // pass an instance of AbortSignal to optionally abort requests
// The following properties are node-fetch extensions
...
timeout: 0, // req/res timeout in ms, it resets on redirect. 0 to disable (OS limit applies). Signal is recommended instead.
...
}
(source: https://www.npmjs.com/package/node-fetch)
Why is that? In what situations would it be a problem to use timeout?