void (final @NotNull Runnable onFinished) { connectIfNeeded(new ConnectionCallbackBase<>() { @Override public void connected(@NotNull ServerRuntimeInstance<D> instance) { computeDeployments(instance, onFinished); } }); }