In JSAPI 3.x, it was possible to react to a layer having more features than the services feature limit by
this.layer.on('query-limit-exceeded', function(evt) {
// too many features found
});How can this be done in JSAPI 4.x? I cannot find a corresponding event neither in the API reference, the TypeScript typings nor in the .js source code.
PS. I'm not using a queryTask, but really just a feature layer that has been loaded to the map.
Thanks and best regards
Kevin