All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.karamelsoft.flow.api.CompletableChoice Maven / Gradle / Ivy

package com.github.karamelsoft.flow.api;

import java.util.function.Consumer;
import java.util.function.Predicate;

/**
 * @author Frederic Gendebien ([email protected]).
 */
public interface CompletableChoice {

    ChoiceWhen when(Predicate predicate);

    Flow otherwise(Consumer consumer);

    Flow done();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy