File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/react-server/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -933,8 +933,8 @@ function serializeReadableStream(
933933 __DEV__ ? task . debugTask : null ,
934934 ) ;
935935
936- request . pendingChunks ++ ; // The task represents the Start row. This adds a Stop row.
937-
936+ // The task represents the Stop row. This adds a Start row.
937+ request . pendingChunks ++ ;
938938 const startStreamRow =
939939 streamTask . id . toString ( 16 ) + ':' + ( supportsBYOB ? 'r' : 'R' ) + '\n' ;
940940 request . completedRegularChunks . push ( stringToChunk ( startStreamRow ) ) ;
@@ -1023,8 +1023,8 @@ function serializeAsyncIterable(
10231023 __DEV__ ? task . debugTask : null ,
10241024 ) ;
10251025
1026- request . pendingChunks ++ ; // The task represents the Start row. This adds a Stop row.
1027-
1026+ // The task represents the Stop row. This adds a Start row.
1027+ request . pendingChunks ++ ;
10281028 const startStreamRow =
10291029 streamTask . id . toString ( 16 ) + ':' + ( isIterator ? 'x' : 'X' ) + '\n' ;
10301030 request . completedRegularChunks . push ( stringToChunk ( startStreamRow ) ) ;
You can’t perform that action at this time.
0 commit comments