@@ -46,8 +46,7 @@ import {
46
46
NoPriority as NoSchedulerPriority ,
47
47
} from './SchedulerWithReactIntegration.new' ;
48
48
49
- export const SyncLanePriority : LanePriority = 13 ;
50
- export const SyncBatchedLanePriority : LanePriority = 12 ;
49
+ export const SyncLanePriority : LanePriority = 12 ;
51
50
52
51
const InputContinuousHydrationLanePriority : LanePriority = 11 ;
53
52
export const InputContinuousLanePriority : LanePriority = 10 ;
@@ -74,42 +73,42 @@ export const NoLanePriority: LanePriority = 0;
74
73
75
74
export const TotalLanes = 31 ;
76
75
77
- export const NoLanes : Lanes = /* */ 0b0000000000000000000000000000000 ;
78
- export const NoLane : Lane = /* */ 0b0000000000000000000000000000000 ;
76
+ export const NoLanes : Lanes = /* */ 0b000000000000000000000000000000 ;
77
+ export const NoLane : Lane = /* */ 0b000000000000000000000000000000 ;
79
78
80
79
export const SyncLane : Lane = /* */ 0b0000000000000000000000000000001 ;
81
- export const SyncBatchedLane : Lane = /* */ 0b0000000000000000000000000000010 ;
82
-
83
- const InputContinuousHydrationLane : Lane = /* */ 0b0000000000000000000000000000100 ;
84
- export const InputContinuousLane : Lanes = /* */ 0b0000000000000000000000000001000 ;
85
-
86
- export const DefaultHydrationLane : Lane = /* */ 0b0000000000000000000000000010000 ;
87
- export const DefaultLane : Lanes = /* */ 0b0000000000000000000000000100000 ;
88
-
89
- const TransitionHydrationLane : Lane = /* */ 0b0000000000000000000000001000000 ;
90
- const TransitionLanes : Lanes = /* */ 0b0000000011111111111111110000000 ;
91
- const TransitionLane1 : Lane = /* */ 0b0000000000000000000000010000000 ;
92
- const TransitionLane2 : Lane = /* */ 0b0000000000000000000000100000000 ;
93
- const TransitionLane3 : Lane = /* */ 0b0000000000000000000001000000000 ;
94
- const TransitionLane4 : Lane = /* */ 0b0000000000000000000010000000000 ;
95
- const TransitionLane5 : Lane = /* */ 0b0000000000000000000100000000000 ;
96
- const TransitionLane6 : Lane = /* */ 0b0000000000000000001000000000000 ;
97
- const TransitionLane7 : Lane = /* */ 0b0000000000000000010000000000000 ;
98
- const TransitionLane8 : Lane = /* */ 0b0000000000000000100000000000000 ;
99
- const TransitionLane9 : Lane = /* */ 0b0000000000000001000000000000000 ;
100
- const TransitionLane10 : Lane = /* */ 0b0000000000000010000000000000000 ;
101
- const TransitionLane11 : Lane = /* */ 0b0000000000000100000000000000000 ;
102
- const TransitionLane12 : Lane = /* */ 0b0000000000001000000000000000000 ;
103
- const TransitionLane13 : Lane = /* */ 0b0000000000010000000000000000000 ;
104
- const TransitionLane14 : Lane = /* */ 0b0000000000100000000000000000000 ;
105
- const TransitionLane15 : Lane = /* */ 0b0000000001000000000000000000000 ;
106
- const TransitionLane16 : Lane = /* */ 0b0000000010000000000000000000000 ;
107
-
108
- const RetryLanes : Lanes = /* */ 0b0000111100000000000000000000000 ;
109
- const RetryLane1 : Lane = /* */ 0b0000000100000000000000000000000 ;
110
- const RetryLane2 : Lane = /* */ 0b0000001000000000000000000000000 ;
111
- const RetryLane3 : Lane = /* */ 0b0000010000000000000000000000000 ;
112
- const RetryLane4 : Lane = /* */ 0b0000100000000000000000000000000 ;
80
+
81
+ const InputContinuousHydrationLane : Lane = /* */ 0b0000000000000000000000000000010 ;
82
+ export const InputContinuousLane : Lanes = /* */ 0b0000000000000000000000000000100 ;
83
+
84
+ export const DefaultHydrationLane : Lane = /* */ 0b0000000000000000000000000001000 ;
85
+ export const DefaultLane : Lanes = /* */ 0b0000000000000000000000000010000 ;
86
+
87
+ const TransitionHydrationLane : Lane = /* */ 0b0000000000000000000000000100000 ;
88
+ const TransitionLanes : Lanes = /* */ 0b0000000001111111111111111000000 ;
89
+ const TransitionLane1 : Lane = /* */ 0b0000000000000000000000001000000 ;
90
+ const TransitionLane2 : Lane = /* */ 0b0000000000000000000000010000000 ;
91
+ const TransitionLane3 : Lane = /* */ 0b0000000000000000000000100000000 ;
92
+ const TransitionLane4 : Lane = /* */ 0b0000000000000000000001000000000 ;
93
+ const TransitionLane5 : Lane = /* */ 0b0000000000000000000010000000000 ;
94
+ const TransitionLane6 : Lane = /* */ 0b0000000000000000000100000000000 ;
95
+ const TransitionLane7 : Lane = /* */ 0b0000000000000000001000000000000 ;
96
+ const TransitionLane8 : Lane = /* */ 0b0000000000000000010000000000000 ;
97
+ const TransitionLane9 : Lane = /* */ 0b0000000000000000100000000000000 ;
98
+ const TransitionLane10 : Lane = /* */ 0b0000000000000001000000000000000 ;
99
+ const TransitionLane11 : Lane = /* */ 0b0000000000000010000000000000000 ;
100
+ const TransitionLane12 : Lane = /* */ 0b0000000000000100000000000000000 ;
101
+ const TransitionLane13 : Lane = /* */ 0b0000000000001000000000000000000 ;
102
+ const TransitionLane14 : Lane = /* */ 0b0000000000010000000000000000000 ;
103
+ const TransitionLane15 : Lane = /* */ 0b0000000000100000000000000000000 ;
104
+ const TransitionLane16 : Lane = /* */ 0b0000000001000000000000000000000 ;
105
+
106
+ const RetryLanes : Lanes = /* */ 0b0000111110000000000000000000000 ;
107
+ const RetryLane1 : Lane = /* */ 0b0000000010000000000000000000000 ;
108
+ const RetryLane2 : Lane = /* */ 0b0000000100000000000000000000000 ;
109
+ const RetryLane3 : Lane = /* */ 0b0000001000000000000000000000000 ;
110
+ const RetryLane4 : Lane = /* */ 0b0000010000000000000000000000000 ;
111
+ const RetryLane5 : Lane = /* */ 0b0000100000000000000000000000000 ;
113
112
114
113
export const SomeRetryLane : Lane = RetryLane1 ;
115
114
@@ -130,9 +129,6 @@ export function getLabelsForLanes(lanes: Lanes): Array<string> | void {
130
129
if ( lanes & SyncLane ) {
131
130
labels . push ( 'Sync' ) ;
132
131
}
133
- if ( lanes & SyncBatchedLane ) {
134
- labels . push ( 'SyncBatched' ) ;
135
- }
136
132
if ( lanes & InputContinuousHydrationLane ) {
137
133
labels . push ( 'InputContinuousHydration' ) ;
138
134
}
@@ -194,9 +190,6 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
194
190
case SyncLane:
195
191
return_highestLanePriority = SyncLanePriority ;
196
192
return SyncLane ;
197
- case SyncBatchedLane:
198
- return_highestLanePriority = SyncBatchedLanePriority ;
199
- return SyncBatchedLane ;
200
193
case InputContinuousHydrationLane:
201
194
return_highestLanePriority = InputContinuousHydrationLanePriority ;
202
195
return InputContinuousHydrationLane ;
@@ -234,6 +227,7 @@ function getHighestPriorityLanes(lanes: Lanes | Lane): Lanes {
234
227
case RetryLane2:
235
228
case RetryLane3:
236
229
case RetryLane4:
230
+ case RetryLane5:
237
231
return_highestLanePriority = RetryLanePriority ;
238
232
return lanes & RetryLanes ;
239
233
case SelectiveHydrationLane:
@@ -265,7 +259,6 @@ export function lanePriorityToSchedulerPriority(
265
259
) : ReactPriorityLevel {
266
260
switch ( lanePriority ) {
267
261
case SyncLanePriority :
268
- case SyncBatchedLanePriority :
269
262
return ImmediateSchedulerPriority ;
270
263
case InputContinuousHydrationLanePriority :
271
264
case InputContinuousLanePriority :
@@ -547,8 +540,6 @@ export function findUpdateLane(lanePriority: LanePriority): Lane {
547
540
break ;
548
541
case SyncLanePriority :
549
542
return SyncLane ;
550
- case SyncBatchedLanePriority :
551
- return SyncBatchedLane ;
552
543
case InputContinuousLanePriority :
553
544
return InputContinuousLane ;
554
545
case DefaultLanePriority :
@@ -805,7 +796,6 @@ export function getBumpedLaneForHydration(
805
796
let lane ;
806
797
switch ( highestLanePriority ) {
807
798
case SyncLanePriority :
808
- case SyncBatchedLanePriority :
809
799
lane = NoLane ;
810
800
break ;
811
801
case InputContinuousLanePriority :
0 commit comments