# DisposeTask

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-dependency-injection/type_alias-disposetask/

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

```rust
type DisposeTask = ferroui_system::task::Shared<Result<(), ferroui_system::ObservableError>>
```

The outcome of an asynchronous disposal (`ValueTask` of `DisposeAsync`): the
`Shared` of a result, whose `flatten()` is a future of it.

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

## Availability

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