Skip to content

@defer errors #50

Answered by glasser
alessbell asked this question in Q&A
Aug 24, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

@IvanGoncharov and I had a lovely lengthy discussion about many things defer/stream yesterday and this was one of the things we discussed in detail.

My strong opinion, and I think @IvanGoncharov eventually agreed, is that there should not be top-level errors here.

The point of the incremental field, as discussed, is largely a performance concern: if a server is capable of generating a bunch of payloads simultaneously, it's helpful to allow clients to process them "atomically" rather than, say, re-rendering after each of them.

There are lots of ways we could have implemented this. eg, we could have made this a transport-layer concern and said that in the HTTP multipart/mixed spec, the body…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@glasser
Comment options

Answer selected by alessbell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants