Enhance Wait-PSFRunspaceWorkflow with new ShowProgress parameters #698
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request enhances the
Wait-PSFRunspaceWorkflowPowerShell function by introducing an optional progress display feature. This new capability allows users to monitor the workflow's real-time progress, including per-runner and per-queue/item statistics, across all supported waiting modes. The changes are focused on improving usability and visibility during long-running workflow operations.Progress reporting enhancements:
ShowProgressswitch parameter to the function, enabling users to opt-in for dynamic progress output during workflow waits.Write-Progresscalls.Closed,WorkerClosed,Count,WorkerCount,Reference, andWorkerReference), ensuring consistent and informative output regardless of how completion is measured. [1] [2] [3] [4] [5]These improvements make it much easier for users to track the status and throughput of complex runspace workflows in real time.Refactor Wait-PSFRunspaceWorkflow function to improve parameter handling and add progress reporting.
Close #617