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 {
13
13
readonly paused : boolean ;
14
14
readonly timedOut : boolean ;
15
15
readonly workerShutdown : boolean ;
16
+ readonly reset : boolean ;
16
17
17
18
private constructor (
18
19
notFound : boolean = false ,
19
20
cancelRequested : boolean = false ,
20
21
paused : boolean = false ,
21
22
timedOut : boolean = false ,
22
- workerShutdown : boolean = false
23
+ workerShutdown : boolean = false ,
24
+ reset : boolean = false
23
25
) {
24
26
this . notFound = notFound ;
25
27
this . cancelRequested = cancelRequested ;
26
28
this . paused = paused ;
27
29
this . timedOut = timedOut ;
28
30
this . workerShutdown = workerShutdown ;
31
+ this . reset = reset ;
29
32
}
30
33
31
34
static fromProto (
@@ -39,7 +42,8 @@ export class ActivityCancellationDetails {
39
42
proto . isCancelled ?? false ,
40
43
proto . isPaused ?? false ,
41
44
proto . isTimedOut ?? false ,
42
- proto . isWorkerShutdown ?? false
45
+ proto . isWorkerShutdown ?? false ,
46
+ proto . isReset ?? false
43
47
) ;
44
48
}
45
49
}
You can’t perform that action at this time.
0 commit comments