Is there a way to output multiple Message (ServiceBusMessage in version 5.0) instances from an Azure Function? The documentation says that one can either return a single message via out Message or multiple entities via ICollector<T>/IAsyncCollector<T>.
I guess the T is a payload type, so using ICollector<Message> would not allow me to configure SessionId and other sending options. Instead, it would simply treat the Message as a payload within an actual message.