mirror of
https://github.com/jlengrand/github-api.git
synced 2026-03-20 15:50:29 +00:00
15 lines
408 B
Java
15 lines
408 B
Java
package org.kohsuke.github.function;
|
|
|
|
import java.io.IOException;
|
|
import java.io.InputStream;
|
|
|
|
/**
|
|
* A functional interface, equivalent to {@link java.util.function.Function} but that allows throwing {@link Throwable}
|
|
*
|
|
* @param <R>
|
|
* the type to of object to be returned
|
|
*/
|
|
@FunctionalInterface
|
|
public interface InputStreamFunction<R> extends FunctionThrows<InputStream, R, IOException> {
|
|
}
|