I have an actor which is having three asynchronous web service calls. Lets say A,B and C. All return promise objects which has their respective response. I added loggers processA,processB,processC respectively.
Now I use F.Promise.sequence(promiseA, promiseB, promiseC) [Play]and applies some logic by using flatmap and for each [Java]. I added loggers logA, logB and logC respectively.
What would be the order of loggers? will it be like once after complete processing a web service call, the respective operations call ?
Please let me know if any document/ links available to explain the concepts of promise and combining multiple promise through Play F.Promise.sequence.