smallketchup82 / ketchupbot-updater

epic galxy pedia updator
Creative Commons Attribution Share Alike 4.0 International
1 stars 0 forks source link

Optimize async/await #58

Open smallketchup82 opened 1 month ago

smallketchup82 commented 1 month ago

Quoted from the discord:

ive also noticed that, technically, we are running the turrets updater after the updateShips() function. this is a peek into our current mismanagement of async/await. for example, looking back at the flow chart, there are places where we could have functions run in parallel, do their processing, then wait on another function to finish before proceeding.

smallketchup82 commented 1 week ago

Slightly addressed in https://github.com/smallketchup82/ketchupbot-updater/commit/5d0645241c9139c9f486d6cf27598b775f088fb8