File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
turbopack/crates/turbo-tasks-backend/src Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -455,11 +455,11 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
455
455
Some ( Ok ( Err ( listen_to_done_event ( this, reader, done_event) ) ) )
456
456
}
457
457
Some ( InProgressState :: InProgress ( box InProgressStateInner {
458
- completed ,
458
+ done ,
459
459
done_event,
460
460
..
461
461
} ) ) => {
462
- if !* completed {
462
+ if !* done {
463
463
Some ( Ok ( Err ( listen_to_done_event ( this, reader, done_event) ) ) )
464
464
} else {
465
465
None
@@ -1145,7 +1145,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
1145
1145
done_event,
1146
1146
session_dependent : false ,
1147
1147
marked_as_completed : false ,
1148
- completed : false ,
1148
+ done : false ,
1149
1149
new_children : Default :: default ( ) ,
1150
1150
} ) ) ,
1151
1151
} ) ;
@@ -1288,7 +1288,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
1288
1288
} ;
1289
1289
let & mut InProgressState :: InProgress ( box InProgressStateInner {
1290
1290
stale,
1291
- ref mut completed ,
1291
+ ref mut done ,
1292
1292
ref done_event,
1293
1293
ref mut new_children,
1294
1294
..
@@ -1329,7 +1329,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
1329
1329
}
1330
1330
1331
1331
// mark the task as completed, so dependent tasks can continue working
1332
- * completed = true ;
1332
+ * done = true ;
1333
1333
done_event. notify ( usize:: MAX ) ;
1334
1334
1335
1335
// take the children from the task to process them
@@ -1507,7 +1507,7 @@ impl<B: BackingStorage> TurboTasksBackendInner<B> {
1507
1507
once_task : _,
1508
1508
stale,
1509
1509
session_dependent,
1510
- completed : _,
1510
+ done : _,
1511
1511
marked_as_completed : _,
1512
1512
new_children,
1513
1513
} ) = in_progress
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ pub struct InProgressStateInner {
314
314
/// task completion of the task for strongly consistent reads.
315
315
pub marked_as_completed : bool ,
316
316
/// Task execution has completed and the output is available.
317
- pub completed : bool ,
317
+ pub done : bool ,
318
318
/// Event that is triggered when the task output is available (completed flag set).
319
319
/// This is used to wait for completion when reading the task output before it's available.
320
320
pub done_event : Event ,
You can’t perform that action at this time.
0 commit comments