Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Durable Functions Support for PowerShell #77
I think people are going to hate me, I want to discuss this in terms of priority.
First, we need to get PowerShell support onto AzureFunctions 2.0 and GA.
Then, there are several much nicer to haves:
And of course Durable Functions, I want this too, but I suspect Durable Functions syntax in PowerShell might be a bit messy. I don't know how async/await will look like, and traditionally PowerShell async is done with Jobs or Runspaces, so I'm curious what a prototype would look like.
So let me be the first in the thread to say we need PS+DF but may be lower in priority. I don't know if we need this day 1 of PS on 2.0
I would be interested in getting feedback from people who have tried durable functions supported in AzF today (C#, for example) and are familiar with the development experience. Essentially, your orchestrator script maintains state while the activity functions are stateless. However, there are other ways to maintain state across multiple functions to replace the need for a single monolithic script.
referenced this issue
Nov 28, 2018
Can we even just have the ability to have Activity functions in PowerShell?
I can see why the orchestrator function might have to stay out of PS due to the stuff it does with "await". However, I think that the biggest utility for PS would be in the Activity function especially when dealing with Azure automation.
@bytemech I had the same idea for mixing a C# client + orchestrator but calling into a PowerShell ActivityTrigger. Have you tried this yet with the preview release?