Hi All,
How to Process results from two different @wire methods after the @wires are finished in Lightning web component.
I need to process something in the end based on the results obtained from the above 2 wire results. How to achieve this synchronous process in Lightning web component?
How can I process 2nd @wire method based only after the 1st @wire has processed and got the result from it. How can I make it a synchronous process that it runs one after the another rather than running it as asynchronous process.
Thanks in advance
Hi @1077522459 ,
Thank you for your response.
Is it the best approach or ls there any other way to achieve this.
As I read that this promise chaining cause a minor performance penalty and is not the best approach in the below link:
https://salesforce.stackexchange.com/questions/295726/process-results-from-two-different-wire-methods-after-the-wires-are-finishedIs there any way to achieve Synchronous process in lwc
Thank you once again,