# LogStream.DisposeAsync

Kind: Method  
Namespace: `Sisk.Core.Http`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Http.LogStream.DisposeAsync.html

## DisposeAsync() {#Sisk_Core_Http_LogStream_DisposeAsync}

Asynchronously writes all pending logs from the queue and closes all resources used by this object.

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

### Returns

[ValueTask](https://learn.microsoft.com/dotnet/api/system.threading.tasks.valuetask)
