Skip to content

Commit 28d4bc4

Browse files
authored
[Flight] Make debug info and console log resolve in predictable order (facebook#33665)
This resolves an outstanding issue where it was possible for debug info and console logs to become out of order if they up blocked. E.g. by a future reference or a client reference that hasn't loaded yet. Such as if you console.log a client reference followed by one that doesn't. This encodes the order similar to how the stream chunks work. This also blocks the main chunk from resolving until the last debug info has fully loaded, including future references and client references. This also ensures that we could send some of that data in a different stream, since then it can come out of order.
1 parent dffacc7 commit 28d4bc4

File tree

4 files changed

+375
-120
lines changed

4 files changed

+375
-120
lines changed

0 commit comments

Comments
 (0)