watch method

Reactive<T> watch()

Gets a reactive wrapper around the provider value. This allows watching for changes if the provider supports it.

Implementation

Reactive<T> watch() {
  return _reactive ??= Reactive<T>(provider.create());
}