Builds function which delays the synchronization for given msec and cancels the execution if transformer is triggered
again.
In contrast to debounceOrCancel this method ensures that after the given delay at least one update is performed.
leta = newClazz({prop:2}); letb = newClazz(); Binding.for(a, b) .syncToRight("prop", deferOrCancel(100) ).enable().syncToRightNow(); b.prop// is undefined but will be set after 100msec to 2
Builds function which delays the synchronization for given msec and cancels the execution if transformer is triggered again. In contrast to debounceOrCancel this method ensures that after the given delay at least one update is performed.