I'm using the esri leaflet plugin
Esri/esri-leaflet · GitHub
We're using a GeoJSON data layer with the plugin.
However, for debugging purposes, I need the following:
1) how can I tell when the layer has finished loading?
2) how can I access the GeoJSON data points when the layer has finished loading?