File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -13,19 +13,22 @@ export class ActivityCancellationDetails {
1313 readonly paused : boolean ;
1414 readonly timedOut : boolean ;
1515 readonly workerShutdown : boolean ;
16+ readonly reset : boolean ;
1617
1718 private constructor (
1819 notFound : boolean = false ,
1920 cancelRequested : boolean = false ,
2021 paused : boolean = false ,
2122 timedOut : boolean = false ,
22- workerShutdown : boolean = false
23+ workerShutdown : boolean = false ,
24+ reset : boolean = false
2325 ) {
2426 this . notFound = notFound ;
2527 this . cancelRequested = cancelRequested ;
2628 this . paused = paused ;
2729 this . timedOut = timedOut ;
2830 this . workerShutdown = workerShutdown ;
31+ this . reset = reset ;
2932 }
3033
3134 static fromProto (
@@ -39,7 +42,8 @@ export class ActivityCancellationDetails {
3942 proto . isCancelled ?? false ,
4043 proto . isPaused ?? false ,
4144 proto . isTimedOut ?? false ,
42- proto . isWorkerShutdown ?? false
45+ proto . isWorkerShutdown ?? false ,
46+ proto . isReset ?? false
4347 ) ;
4448 }
4549}
You can’t perform that action at this time.
0 commit comments