![JAR search and dependency download from the Maven repository](/logo.png)
com.sproutigy.commons.async.collections.BlockingIterable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of async Show documentation
Show all versions of async Show documentation
Async Programming Toolkit for Java
package com.sproutigy.commons.async.collections;
import org.reactivestreams.Publisher;
import java.util.Iterator;
/**
* @author LukeAheadNET
*/
public class BlockingIterable implements Iterable {
private Publisher publisher;
public BlockingIterable(Publisher publisher) {
this.publisher = publisher;
}
@Override
public Iterator iterator() {
return new BlockingIterator<>(publisher);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy