sync

fun sync(upstream: Store<T>): History<T>

syncs this history to a given store, so that each update is automatically stored in history.

Parameters

upstream

Store to sync with