Promise<Node> (@NotNull Node node) { if (disposed) return rejectedPromise(); return node.queue.promise(this::submit, () -> { node.setLoading(!showLoadingNode ? null : new Node(new LoadingNode(), LeafState.ALWAYS)); return new CmdGetChildren("Load children", node, false); }); }