Daniel,
I see. Could you please provide me with the small code example for await?
Magik
śr., 9 sty 2019 o 22:00 Daniel. <danielhilst(a)gmail.com> napisał(a):
Note that for using it you need to enable it support on babel,
welcome to
modern javascript, these are the pieces of software that I recommend you to
get familiar with it: Webpack and Babel.
Webpack will bundle all your javascript (css and other stuff) in a single
bundle. Babel will let you to develop on newer versions of javascript that
would not be available on old browsers, and it will transpile to old
javascript
Em qua, 9 de jan de 2019 às 18:52, . <magicznykrag(a)gmail.com> escreveu:
> Hello,
> First of all: thank you very much for maintaining this great project!
>
> I'm C programmer learning now Cockpit. My problem is as follows: for some
> of the operation I must use external helper and I must wait for it output.
> The cockpit.spawn() function returns the promise, which is non-blocking
> operation (as expected). How can I make it work as blocking one? Which
> mean: the rest of the code in the function should be done after receiving
> full output of the cockpit.spawn (done() or fail())
>
> best regards,
> Magik
>
> _______________________________________________
> cockpit-devel mailing list -- cockpit-devel(a)lists.fedorahosted.org
> To unsubscribe send an email to
> cockpit-devel-leave(a)lists.fedorahosted.org
> Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
> List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives:
>
https://lists.fedorahosted.org/archives/list/cockpit-devel@lists.fedoraho...
>
--
“If you're going to try, go all the way. Otherwise, don't even start. ..."
Charles Bukowski
_______________________________________________
cockpit-devel mailing list -- cockpit-devel(a)lists.fedorahosted.org
To unsubscribe send an email to cockpit-devel-leave(a)lists.fedorahosted.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedorahosted.org/archives/list/cockpit-devel@lists.fedoraho...