class Fun {

    public static <T> ThrowingFunction<T, Nothing>
    throwingVoidToNothing1(final @NotNull ThrowingConsumer<? super T> mayThrowOnAccept) {
        return input -> {
            mayThrowOnAccept.tryAccept(input);
            return Nothing.instance;
        };
    }

    private  Fun();

}