void (Object element, NodeAction action, @NotNull Map<Object, List<NodeAction>> map) { maybeSetBusyAndScheduleWaiterForReady(true, element); map.computeIfAbsent(element, k -> new ArrayList<>()).add(action); addActivity(); }