Skip to main content

Timeline for Call async/await methods in LWC

Current License: CC BY-SA 4.0

5 events
when toggle format what by license comment
Jan 26, 2022 at 17:58 answer added H Alves timeline score: 0
Jan 26, 2022 at 17:54 vote accept barucco
Jan 26, 2022 at 17:18 comment added Keith C Think there is other discussion on this subject on this forum. The wired mechanism is best avoided where calls need to be done in a specific order; imperative code can be written instead to e.g. make some requests in parallel and other requests sequentially using async/await/Promise.all/etc. For some cases you could fudge it using reactive properties (such as your '$recordId') but cleaner IMHO to use explicit Apex calls.
Jan 26, 2022 at 17:14 answer added RubenDG timeline score: 2
Jan 26, 2022 at 16:42 history asked barucco CC BY-SA 4.0