com.outbrain.ob1k.concurrent.Producer Maven / Gradle / Ivy
package com.outbrain.ob1k.concurrent;
import com.outbrain.ob1k.concurrent.Consumer;
/**
* produces a value/error and delivers it to the consumer at some point in the future.
*
* @author asy ronen
*/
public interface Producer {
public void produce(Consumer consumer);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy