ServiceBusQueueHandler type

type ServiceBusQueueHandler<T> = (
  messages: T,
  context: InvocationContext
) => FunctionResult