
com.katalon.platform.api.ui.UISynchronizeService Maven / Gradle / Ivy
package com.katalon.platform.api.ui;
/**
* UISynchronizeService is a unique KS UIService to help KS plugins can synchronize, and synchronize their code with KS
* main UI thread.
*
* @see #syncExec(Runnable)
* @see #asyncExec(Runnable)
*
* @since 1.0.4
*/
public interface UISynchronizeService extends UIService {
/**
* Synchronizes the given runnable
with main UI thread.
*
* @param runnable the runnable code
* @since 1.0.4
*/
void syncExec(Runnable runnable);
/**
* Asynchronizes the given runnable
with main UI thread.
*
* @param runnable the runnable code
* @since 1.0.4
*/
void asyncExec(Runnable runnable);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy