-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Preserve jobs order #180
base: master
Are you sure you want to change the base?
Preserve jobs order #180
Conversation
I think I will accept this one after #178 has been completed assuming that the OP gets back to my question in a reasonable amount of time. |
I know this is a little old but I would like to be able to use the streaming aspect of Wait-RSJob so that as jobs complete I can immediately start another long running single threaded processes so that they are going through that downstream process as soon as they are individually done, not once all of them are done. |
so, you want single threading ? may be just not use RSJob ? :) or may be join multiple jobs inside one ? or, if you want to start the same jobs with different data, then look to because |
@MVKozlov I am sorry I must not have been clear, I want to process a set of asynchronous jobs as soon as each one is complete. To do this I would need the streaming functionality that passes whichever jobs have reached completion down the pipeline as soon as the job is complete. |
it sounds still not clear to me. let's divide question...
|
@MVKozlov I have created some sample code below that I think will help explain. I believe this is closest to the
|
ok, now I see. but seems there is no method to accomplish this task, sorry. I have a plans to redesign commands to property support pipeline but have no time just now. and @proxb still not approve previous PRs... |
@ChrisMagnuson, fortunately for you, it was a calm morning :) |
@MVKozlov Nice! I cloned this and ran the example from PoshRSJob README.md and now the example works again:
Will there be another separate PR for this? |
I can make as many PR as need but @proxb seems have no time to visit here |
Fixes #179.
Changes proposed in this pull request:
Job order for
Get-RSJob
preserved from input to outputHow to test this code:
Has been tested on (remove any that don't apply):