You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
classes are not imported into the parallel runspaces #2
Classes scopes and life-cycles are not exposed properly. Unfortunately. It may be pretty hard to support it for PS v5 and most likely support would use non-public APIs. @dlwyatt hit similar problem with implementing mocking for PS classes in pester.
I'd like to collect info from community to understand how to expose classes scopes and lifecycle management properly and maybe write an RFC for it. Please, feel free to contact me with sevoroby@microsoft.com and describe problems you faced.
Activity
Zuldan commentedon May 10, 2016
@powercode Staffan,
Looking forward to when this class issue is resolved so we don't have to duplicate classes inside and outside of Invoke-Parallel.
vors commentedon May 10, 2016
Classes scopes and life-cycles are not exposed properly. Unfortunately. It may be pretty hard to support it for PS v5 and most likely support would use non-public APIs. @dlwyatt hit similar problem with implementing mocking for PS classes in pester.
I'd like to collect info from community to understand how to expose classes scopes and lifecycle management properly and maybe write an RFC for it. Please, feel free to contact me with sevoroby@microsoft.com and describe problems you faced.