poppinss / cli-step

A simple UI only module to display animated steps on terminal. We all ❤️ emojis
41 stars 2 forks source link

Asynchronous Tasks #1

Open joshuaquek opened 6 years ago

joshuaquek commented 6 years ago

Hi, I'm having some weird issues when using this async operations.

Is this only supposed to be used synchronously?

thetutlage commented 6 years ago

Don’t think so, can u share some code ?

joshuaquek commented 6 years ago

At the moment, I've run three async processes ending at different timings, but I realized that the spinner only works for synchronous scenarios. No worries, I'm now using https://github.com/codekirei/node-multispinner to handle this. I'll probably use cli-step to show synchronous process completion instead.

Thanks!

thetutlage commented 6 years ago

Ohh great, lemme see if I can add the option to have multiple steps running at the same the time ( since it seems to be a valid use case )