Share via


IEventProcessor.ProcessEventsAsync Method

Definition

Called by the processor host when a batch of events has arrived.

This is where the real work of the event processor is done.

public System.Threading.Tasks.Task ProcessEventsAsync (Microsoft.Azure.EventHubs.Processor.PartitionContext context, System.Collections.Generic.IEnumerable<Microsoft.Azure.EventHubs.EventData> messages);
abstract member ProcessEventsAsync : Microsoft.Azure.EventHubs.Processor.PartitionContext * seq<Microsoft.Azure.EventHubs.EventData> -> System.Threading.Tasks.Task
Public Function ProcessEventsAsync (context As PartitionContext, messages As IEnumerable(Of EventData)) As Task

Parameters

context
PartitionContext

Information about the partition.

messages
IEnumerable<EventData>

The events to be processed.

Returns

Applies to