public Builder afterSuccess(final Consumer<Bindings> afterSuccess) {
                this.afterSuccess = afterSuccess;
                return this;
            }
Specifies the function to execute after result transformations.  This function can also be
specified globally on {@link GremlinExecutor.Builder#afterSuccess(Consumer)}. The script evaluation
will be marked as "complete" after this method.
gremlin-groovy/src/main/java/org/apache/tinkerpop/gremlin/groovy/engine/GremlinExecutor.java