public async Task ProcessEventsAsync(PartitionContext context, IEnumerable <EventData> messages) { foreach (var @event in messages) { var args = new EventReceivedArgs(@event, context.PartitionId); Callback.Receive(args); } await context.CheckpointAsync(); }