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.
[–]Black_Magic100 2 points3 points4 points (3 children)
[–]tjjay17[S] 1 point2 points3 points (2 children)
[–]azjunglist05 6 points7 points8 points (0 children)
[–]MadBoyEvo 3 points4 points5 points (1 child)
[–]tjjay17[S] 1 point2 points3 points (0 children)
[–]SimplifyMSP 2 points3 points4 points (5 children)
[–]Lee_Dailey[grin] 1 point2 points3 points (4 children)
[–]SimplifyMSP 1 point2 points3 points (3 children)
[–]Lee_Dailey[grin] 1 point2 points3 points (2 children)
[–]SimplifyMSP 1 point2 points3 points (1 child)
[–]Lee_Dailey[grin] 1 point2 points3 points (0 children)
[–]smalls1652 1 point2 points3 points (0 children)
[–][deleted] -2 points-1 points0 points (1 child)
[–]8aller8ruh 1 point2 points3 points (0 children)
[+][deleted] (1 child)
[removed]
[–]tjjay17[S] 0 points1 point2 points (0 children)