What is the best way to use F# in Azure Functions at the moment? I want my function to have both input and output bindings (e.g. to queues or event hubs)
What I found so far:
- Queue triggered FSX - but it has no output bindings and is reported to be slow
- Compile F# code to exe file and run Function as external executable - but again the output queue binding isn't clear to me, I guess the exe file would have to send the item explicitly
Is there a way to take an F# function with inputs and output and host it as a Azure Function directly? Something similar to C# Run
method?
Ideally, inputs and outputs should be strongly typed: an object, record or discriminated union.