Abort signal is not triggered

When I use this code, it doesn't trigger when user disconnects from the worker.

But it shows an error X [ERROR] Uncaught (in promise) Error: Network connection lost. in the console somehow.

request.signal.addEventListener('abort', () => {
   console.log(123)
});


What's the problem?
Was this page helpful?