I need some guidance as I am new to @ngrx and feeling a bit lost in understanding how it should be used.
Let's assume we have an effect named PlaceOrderEffect
In this effect, my goal is to handle each request in a specific order.
processOrder$ = createEffect(
ofType(OrderActions.PROCESS_ORDER),
//this part is where I'm struggling
concatMap([
this.service.addCrust(),
this.service.addTopings(),
this.service.sendToCook()
this.service.checkOut()
]
)
How can I ensure that these operations run sequentially and manage the final response effectively?