# provider

abstract fun <T> provider(value: Callable<out @Nullable T>): Provider<T>(source)

Creates a Provider implementation based on the provided value.

The provider is live and will call the Callable each time its value is queried. The Callable may return `null`, in which case the provider is considered to have no value.

#### Return

The provider. Never returns null.

#### Since

4.0

#### Parameters

value

The Callable use to calculate the value.

#### See also

ProviderFactory