# RedisGrainDirectory.DisposeAsync

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.graindirectory.redis/orleans.graindirectory.redis.redisgraindirectory/) | [Methods](/orleans/docs/api/csharp/microsoft.orleans.graindirectory.redis/orleans.graindirectory.redis.redisgraindirectory/methods/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Redis/Orleans.GrainDirectory.Redis/RedisGrainDirectory.cs#L219-L240)

```csharp
public ValueTask DisposeAsync()
```

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources asynchronously.

### Returns

A task that represents the asynchronous dispose operation.
