@veloceapps/sdk 8.0.0-146 → 8.0.0-147
Sign up to get free protection for your applications and to get access to all the features.
@@ -1089,7 +1089,10 @@ class FlowStateService {
|
|
1089
1089
|
};
|
1090
1090
|
this.statefulExecutionInProgress$.next(true);
|
1091
1091
|
return this.flowStateApiService.execute(this.stateId$.value, request);
|
1092
|
-
}), tap$1(({ stateId }) => this.stateId$.next(stateId)), share(), tap$1(() => this.statefulExecutionInProgress$.next(false))
|
1092
|
+
}), tap$1(({ stateId }) => this.stateId$.next(stateId)), share(), tap$1(() => this.statefulExecutionInProgress$.next(false)), catchError(e => {
|
1093
|
+
this.statefulExecutionInProgress$.next(false);
|
1094
|
+
return throwError(() => e);
|
1095
|
+
}));
|
1093
1096
|
}
|
1094
1097
|
executeStateful$(request) {
|
1095
1098
|
return this.statefulExecutionInProgress$.pipe(filter$1(inProgress => !inProgress), take$1(1), switchMap(() =>
|