Your listener id (must be unique for all project events)
Your listener function
// Each time a new project is loaded will display the new project id in the console
JMap.Event.Project.on.projectsChange(
"custom-projects-change",
params => console.log(`Project count = "${params.projects.length}"`)
)
JMap.Event.Project.on.projectsChange
This event is triggered after the entire project list has been fetched from server.
It happens once after the user session has been validated and set.