79625231

Date: 2025-05-16 13:01:53
Score: 1.5
Natty:
Report link

EventGridTriggerAttribute has a IsBatched boolean parameter.

so changing parameters like this enabled batch processing:

public async Task Run([EventGridTrigger(IsBatched = true)] CloudEvent[] cloudEvents, FunctionContext _)

Would have been nice of MS to include this in their docs about batching.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: some_random_dude