presto-main/src/main/java/io/prestosql/operator/WorkProcessor.java/WorkProcessor/ofResult
class WorkProcessor:        public static <T> ProcessState<T> ofResult(T result)
        {
            return new ProcessState<>(Type.RESULT, requireNonNull(result, "result is null"), null);
        }