void (@NotNull final UndeploymentTaskCallback callback) { myTaskExecutor.submit(() -> getApplication().undeploy(new CloudAgentDeploymentCallback() { @Override public void succeeded() { callback.succeeded(); } @Override public void errorOccurred(@Nls String errorMessage) { callback.errorOccurred(errorMessage); } }), callback); }