Open
Description
The .cancel()
method to cancel requests works great, and it's a great feature to have. It's a popular convention used by many network libraries, however, a convention notheless.
It would be great to add support for an AbortController.signal
created outside the generated code so as to use a native browser api rather than a convention.
As an example, react-query has started to create it's own signal
s in addition to still supporting the .cancel()
convention.