- For multiple output messages, you could return a list instead of returning a single string. While the docs don't cover a sample for EventHub, the same as the one for Queue Storage
- There is a cardinality property that can be set in the
function.json
file for the function that returns multiple messages instead of one. Refer this as a sample.
Please feel free to open feedback items on the docs to include samples for the same.