Cybermuse.io
Cybermuse.io
TtRPC
Created by Cybermuse.io on 10/28/2024 in #❓-help
Error handling abort on unstable_httpBatchStreamLink
When using a streaming response with unstable_httpBatchStreamLink and cancelling a request with an AbortController, the client will throw an error. The error is an instance of a generic error rather than a TRPCClientError. I'm trying to think of a solid way to swallow the abort error.
11 replies