Adds a reaction that will trigger every time an snapshot changes.
Object to get the snapshot from or a function to get it.
Function that will be triggered when the snapshot changes.
A disposer.
T Object type.
Adds a reaction that will trigger every time an snapshot changes.