Pode icon indicating copy to clipboard operation
Pode copied to clipboard

Test-PodeTaskCompleted always returns false?

Open plk opened this issue 1 year ago • 1 comments

I am running an async task from one endpoint and getting the status using another endpoint which uses the task name. I want to return the results from the async task when it's finished but Test-PodeTaskCompleted always seems to return false,even when the asynce task scriptblock is finished?

plk avatar Feb 12 '24 14:02 plk

This is similar to an issue just raised (#1249), the underlying cause is that Get-PodeTask returns the base task definition created by Add-PodeTask, and not a processing task object like Invoke-PodeTask returns.

(linked to #1037)

Badgerati avatar Mar 11 '24 22:03 Badgerati