[android-components](../../index.md) / [mozilla.components.support.base.observer](../index.md) / [Consumable](index.md) / [from](./from.md)

# from

`fun <T> from(value: `[`T`](from.md#T)`): `[`Consumable`](index.md)`<`[`T`](from.md#T)`>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/base/src/main/java/mozilla/components/support/base/observer/Consumable.kt#L53)

Creates a new Consumable wrapping the given value.

