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

Add new Running event, which triggers after Start when Runspaces are available #1114

Merged
merged 2 commits into from
Jul 8, 2023

Conversation

Badgerati
Copy link
Owner

Description of the Change

Adds a new Running event type for Register-PodeEvent - and other relevant functions. This event till be triggered after the Start event, when all of the runspaces for Pode have been opened and are running - allowing you to run Tasks, etc. in this event trigger.

Related Issue

Resolves #1107

Examples

Register-PodeEvent -Type Running -Name Example -ScriptBlock {
    Invoke-PodeTask -Name 'Task1'
}

@Badgerati Badgerati added this to the 2.9.0 milestone Jul 8, 2023
@Badgerati Badgerati self-assigned this Jul 8, 2023
@Badgerati Badgerati merged commit 8398bf0 into develop Jul 8, 2023
@Badgerati Badgerati deleted the Issue-1107 branch July 8, 2023 19:39
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

Successfully merging this pull request may close these issues.

Invoke-PodeTask
1 participant