-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
A new Test-PodeTaskInvoked function #1037
Labels
Comments
Another function I thought was in the list above:
|
This was referenced Mar 11, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Test if some task is currently being invoked/running - by checking all currently running task processes with that task’s name.
Possibly also add a
Wait
function as well, to wait for the task to no longer have any invoked processes?Update
Get-PodeTask
, or just the Task object, to have aProcessCount
orProcesses
array? One is just a count of current invoked processes and the other an array of invoked process names.Or:
Get-PodeTaskProcesses
Could we differentiate between a Queued process, and an Active one? Like a Queued one is one just created, but an Active one is one now running in the runspace?
The text was updated successfully, but these errors were encountered: