AbstractBaseDefaultSubject

constructor(defaultValue: ObservableOptional.Value<R>, initialValue: ObservableOptional.Value<T?>)


constructor(observation: ObservationDefault<R, T?>)

Parameters

T

the type of value to expect.

R

the type of result to expect. Must be a subclass of T

observation

The ObservationDefault to handle value being observed