# IAsyncDisposable

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dependency-injection/trait-iasyncdisposable/

**trait** · [`ferroui-dependency-injection`](/docs/0.5.0/api/ferroui-dependency-injection/) · v0.5.0

```rust
trait IAsyncDisposable
```

Async disposal uses FerroUI's local task executor (`ferroui_system::task`); no external runtime
is required.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DependencyInjection/service_descriptor.rs#L14)

## Members

- [`dispose_async`](#function-dispose_async)

<a id="function-dispose_async"></a>

### dispose_async

```rust
fn dispose_async(self: &Self) -> DisposeTask
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.DependencyInjection/service_descriptor.rs#L15)

## Trait implementations

- [`IAsyncDisposable`](/docs/0.5.0/api/ferroui-dependency-injection/trait-iasyncdisposable/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
