void (boolean connected, @NotNull String connectionStatus) { UIUtil.invokeLaterIfNeeded(() -> { if (myConnectionTester == this) { setConnectionStatus(!connected, connected, connected ? CloudBundle.message("cloud.status.connection.successful") : CloudBundle.message("cloud.status.cannot.connect", connectionStatus)); } }); }