@can.onInstancePatches
Listen to patch changes on any instance.
canReflect.onInstancePatches(Type, handler(instance, patches) )
Listen to patch changes on any instance of Type
. This is used by
can-connect to know when a potentially unbound
instance's id
changes. If the id
changes, the instance can be moved into the store
while it is being saved.