Skip to content
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

Future Support? #204

Open
JustinGrote opened this issue Oct 30, 2019 · 5 comments
Open

Future Support? #204

JustinGrote opened this issue Oct 30, 2019 · 5 comments

Comments

@JustinGrote
Copy link

Hi @proxb,

Just curious if you plan to maintain the module since I haven't seen a commit in over a year, or if we should be moving to ThreadJob since that's the semi-"official" solution, even though it's nowhere near as feature rich as your awesome module.

Thanks.

@MVKozlov
Copy link
Contributor

if you don’t have enough features, you can try my fork

but ThreadJob looks promising

@copdips
Copy link
Contributor

copdips commented Oct 31, 2019

from my understanding, Microsoft chose ThreadJob becasue PoshRSJob uses some private interfaces.

@MVKozlov
Copy link
Contributor

I think firstly because ThreadJob is a native c# module :)
next, to give compatibility to existing Wait-Job/Receive-Job cmdlets

PoshRSJob use private interfaces for:

  • Getting job state. ThreadJob use InvocationStateChanged event. I think, @proxb just not found it. (looks easy to change, may be I try it)
  • Importing variable by mask (unique feature), Can't remember why I use this method instead of Get-Variable,
  • Importing functions (unique feature). |I dont' know, is it can be rewritten
  • Its own IsReceived flag.

So for Microsoft, I think this is not the reason

@robinmalik
Copy link

@JustinGrote Would I be correct in assuming your go to these days is ThreadJob? (I'm not sure if/how it's progressed since 2019).

@JustinGrote
Copy link
Author

JustinGrote commented Sep 20, 2023

@robinmalik Foreach -Parallel and ThreadJob as they are both first party solutions that are "good enough", I've been meaning to make PoshRSJob-style wrappers for easily importing functions and whatnot but it's been low on my priority list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants