org.zodiac.sdk.async.promises.SimpleLogic Maven / Gradle / Ivy
package org.zodiac.sdk.async.promises;
/**
* Simplified implementation of Logic for cases where the PromiseContext
* is not needed; AsyncPromise has methods that take both to enable
* varargs usage.
*
* @param The input type
* @param The output type
*/
public interface SimpleLogic {
public void run(T data, Trigger next) throws Exception;
}