Supplier (RxJava Javadoc 3.1.11-RC4) (original) (raw)


@FunctionalInterface
public interface Supplier
A functional interface (callback) that provides a single value or throws an exception.
This interface was added to allow throwing any subclass of Throwables, which is not directly possible with the Java standard Callable interface.
Since:
3.0.0