wrap

Wraps a StateContainer with observer capability.

Return

An ObservableStateContainer that wraps the given container

Parameters

container

The StateContainer to wrap


Wraps a StateContainer with a custom notifier.

Return

An ObservableStateContainer that wraps the given container

Parameters

container

The StateContainer to wrap

notifier

The notifier to use for state change notifications