# IQueueAdapterReceiver.MessagesDeliveredAsync(IList&lt;IBatchContainer&gt;, CancellationToken)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.iqueueadapterreceiver/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming/orleans.streams.iqueueadapterreceiver/methods/)

[Source](https://github.com/dotnet/orleans/blob/b7a9e3e1c9c54b3cec3a467c5734bf7744541bcf/src/Orleans.Streaming/QueueAdapters/IQueueAdapterReceiver.cs#L59)

```csharp
public virtual Task MessagesDeliveredAsync(IList<IBatchContainer> messages, CancellationToken cancellationToken)
```

Notifies the adapter receiver that the messages were delivered to all consumers.

### Parameters

- `messages` (`IList<IBatchContainer>`): The message batches.
- `cancellationToken` (`CancellationToken`): The cancellation token.

### Returns

A `System.Threading.Tasks.Task` representing the operation.
