I have this function seriesSteps, during page load this is called, it will execute all steps,
the display is dynamic loading page where I have div to load that page,
I have button to “goTo” what I want if the current step is executed example showLogs(2) , then I want to click the goTo button
and I want to specify what steps I want to execute, example readMessages(3) when readMessages(3) is executed after it is done, I want all the remaining steps will be executed like await showBlockList(3); until go down to doneProcess()
Well, if you ALWAYS call readMessages after showLogs after display… and want ALL of these steps to be done synchronously, you probably can combine those functions into one big function…
Yeah… it goes back to the original question i had of whether all those functions are actually async or not… I’m not sure how I see that something called “display” or “showLogs” requires asynchronous operations…
the idea behind an asynchronous operation is to not operate synchronously and avoid blocking. To await everything means its all synchronous and blocks.