When migrating to 4.x, I found it best to replace this by watching the MapView.stationary property, in which case yours would translate to something like:
mapView.watch("stationary", this.myFunction.bind(this));
and elsewhere, something like:
myFunction: function(newValue, oldValue, propertyName, target) {
if (newValue) {
var extent = target.extent;
//etc
}
}