# IAsyncBatchProducer&lt;T&gt;

Package: [Microsoft.Orleans.Streaming](/orleans/docs/api/csharp/microsoft.orleans.streaming/) 10.0.0

[NuGet package](https://www.nuget.org/packages/Microsoft.Orleans.Streaming) | [Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Streaming/Core/IAsyncBatchProducer.cs#L14)

```csharp
public interface IAsyncBatchProducer<T> : IAsyncObserver<T>
```

This interface generalizes the IAsyncObserver interface to allow production of batches of items. 

Note that this interface is invoked (used) by item producers.

## Type parameters

- `T`: The type of object consumed by the observer.

## Methods

- [OnNextBatchAsync(IEnumerable&lt;T&gt;, StreamSequenceToken)](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.iasyncbatchproducer-1/methods/onnextbatchasync-system-collections-generic-ienumerable-t-orleans-streams-stream-2616879d/)
