According to the documentation, for the actual interruption of a request, we should pass the abort controller's signal to a lower level in the handler or effect properties. However, if we don't use createJsonQuery and attempt to apply onAbort to our effects or handlers more than once, the code simply stops working with an onAbort call is not allowed error.
Hello, thank you for the library!
According to the documentation, for the actual interruption of a request, we should pass the abort controller's signal to a lower level in the handler or effect properties. However, if we don't use createJsonQuery and attempt to apply onAbort to our effects or handlers more than once, the code simply stops working with an onAbort call is not allowed error.
Easy example:
In this example, onAbort in queryA works well, but onAbort in queryB fails.