this.functionalityClient.activateFeature(featureName)
.pipe(
concatMap(
feature => {
this.feature = feature;
return this.functionalityClient.setStatus(this.feature.id, 'activated');
}
),
concatMap(
feature => {
//update settings...
return this.functionalityClient.deleteConfig(feature.config);
}
),
mergeMap(
feature => {
this.feature = feature;
return this.functionalityClient.setGroup(feature.id, 'test');
}
)
)
.subscribe(
feature => {
//perform actions
},
error => ...
)
I want to enable my functions one by one, not all together. How can I achieve this without using forkJoin?