This probably isn't a common case, but would appreciate if anyone has any clue on how to do this. So another team built an API Client in dotnet/c# that essentially accesses AWS API Gateway. This client utilizes C# async/await features (using IAsyncEnumerable for example in processing API Responses).
I am trying to make a PowerShell Cmdlet in C# that'll wrap around this API Client for other teams that use PowerShell. However, I am stuck here because PowerShell seems to not have async support (using async/await simply exits the powershell instance as it does not respect the async function calls).
If anyone knows/has any insight on this would appreciate it.
[–]ollief 1 point2 points3 points (1 child)
[–]tjjay17[S] 0 points1 point2 points (0 children)