cli-step icon indicating copy to clipboard operation
cli-step copied to clipboard

Asynchronous Tasks

Open joshuaquek opened this issue 8 years ago • 3 comments

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

Is this only supposed to be used synchronously?

joshuaquek avatar Oct 13 '17 10:10 joshuaquek

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

thetutlage avatar Oct 13 '17 12:10 thetutlage

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!

joshuaquek avatar Oct 17 '17 02:10 joshuaquek

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 )

thetutlage avatar Oct 18 '17 07:10 thetutlage