private void notifyWatchers(String methodName, Consumer<SnapshotWatcher<? super T>> consumer) {
        for (SnapshotWatcher<? super T> watcher: snapshotWatchers) {
            try {
                consumer.accept(watcher);
            } catch (Throwable t) {
                logger.warn("Unexpected exception while invoking {}.{}",
                            watcher.getClass().getSimpleName(), methodName, t);
            }
        }
    }
Removes a watcher which waits for a snapshot update.
xds/src/main/java/com/linecorp/armeria/xds/AbstractRoot.java