mikhailshilkov / DurableFunctions.FSharp

F#-friendly API layer for Azure Durable Functions
MIT License
62 stars 8 forks source link

A version of All for fire-fire-and-forget fan-out #3

Closed jbeeko closed 5 years ago

jbeeko commented 5 years ago

Activity.All runs all activities in parallel and returns when they are done. But sometimes there is no need to wait. For example a scheme that generate a collection of Webhook calls backs. It wants to start all of them and immediately return. It assumes the individual Activity functions will make best attempt to deliver but there is no need to return a result.

Activity.StartAll ?

mikhailshilkov commented 5 years ago

I'm not sure how the underlying infrastructure will behave in this case. Have you seen such a scenario in C# documentation?

jbeeko commented 5 years ago

No I've not, But in the mean time I've realized that the result of the Activity.All is not the finaly result but rather links which would let you query for the result so I think that will be ok.

mikhailshilkov commented 5 years ago

Closing this for now, let me know if you still need something to be done