public void flushChangeEvents() {

		RepositoryChangeEvent[] events;
		synchronized (eventQueue) {
			dispatchSuspended = false;
			if (eventQueue.isEmpty()) {
				return;
			}
			events = new RepositoryChangeEvent[eventQueue.size()];
			eventQueue.toArray(events);
			eventQueue.clear();
		}

		RepositoryHandleImpl[] handles = getHandles();
		for (RepositoryHandleImpl handle : handles) {
			handle.dispatchEvents(events);
		}
	}
Send all queued change events immediately.
If event dispatching had been suspended, it will 
resume with this call.
Ghidra/Features/GhidraServer/src/main/java/ghidra/server/Repository.java