public static <T, R> Function<T, R> function(Function<? super T, ? extends R> function) {
        return t -> supplier(() -> function.apply(t)).get();
    }
A factory class for methods that wrap functional interfaces like
{@link Supplier} in a "blocking" ({@link ManagedBlocker}) equivalent, which
can be used with the {@link ForkJoinPool}.

@author Lukas Eder
jOOL/src/main/java/org/jooq/lambda/Blocking.java