Detect if the diagram has already taken care of everything

how to detect if the diagram is already loaded all the xml of the .bpmn?
I need to know if the status of the diagram is already loaded or not yet

please

eventBus.on('import.done', function() {
  // Import has finished!
});
1 Like

Thank you for your help @philippfromme,