# EventHubPartitionGeneratorReceiver.CloseAsync

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.testing.eventhubpartitiongeneratorreceiver/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.streaming.eventhubs/orleans.streaming.eventhubs.testing.eventhubpartitiongeneratorreceiver/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Azure/Orleans.Streaming.EventHubs/Providers/EventDataGeneratorStreamProvider/EventHubPartitionGeneratorReceiver.cs#L54)

```csharp
public Task CloseAsync()
```

Send a clean up message
