Returning an async generator from an endpoint works, but exceptions inside the generator don't map to HTTP errors the way I expect. What patterns do people use for robust streaming endpoints?
4
0 commentsReturning an async generator from an endpoint works, but exceptions inside the generator don't map to HTTP errors the way I expect. What patterns do people use for robust streaming endpoints?