RE: End of completion for z.runParagraph

2020-02-13 Thread stephane.davy
Hello Jeff, Thanks for your answer. Here is what I want to do: var element = $('#runAll'); var scope = angular.element(element.parent('.ng-scope')).scope().compiledScope; var z = scope.z; scope.refresh = function () { z.runParagraph('20200120-072110_97

Re: End of completion for z.runParagraph

2020-02-13 Thread Jeff Zhang
Because each interpreter has its own scheduler. They are in different schedulers. BTW, do you mind to share your note so that people can understand your question easier ? 于2020年2月13日周四 下午6:02写道: > Hello all, > > > > I’d like to trigger many paragraphs execution from an angular one. If I > launc

End of completion for z.runParagraph

2020-02-13 Thread stephane.davy
Hello all, I’d like to trigger many paragraphs execution from an angular one. If I launch many spark ones, they are executed one after each other, but if I mix spark and angular ones, angular ones are triggered even if spark ones are not finished yet. I guess this comes from the asynchronous b