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
When doing multiple New-PoshBotCardResponse's within a function, the expected outcome should be that it sends the response at the time it is run in the function, and not batched when it has completed.
Current Behavior
Right now, Poshbot will batch all CardResponses until the function either completes or fails.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Expected Behavior
When doing multiple
New-PoshBotCardResponse
's within a function, the expected outcome should be that it sends the response at the time it is run in the function, and not batched when it has completed.Current Behavior
Right now, Poshbot will batch all CardResponses until the function either completes or fails.
Possible Solution
This is probably the two places where the logic needs to be changed:
I have made some attempts by changing line 167-168 in https://github.com/poshbotio/PoshBot/blob/master/PoshBot/Classes/CommandExecutor.ps1#L162 to
and commenting out line 476-479 in https://github.com/poshbotio/PoshBot/blob/master/PoshBot/Classes/Bot.ps1#L460 like so:
Steps to Reproduce (for bugs)
(made by Brandon Olin)
function Start-LongRunningCommand {
[cmdletbinding()]
param(
[int]$Count = 5,
[int]$DelaySeconds = 2
)
}
Context
I want more verbose output on each step within more complex functions
Your Environment
The text was updated successfully, but these errors were encountered: