A future represents an output of a closure, either the return value of the function, or the value of a global variable written by the function. A future is created by calling the Closure.getReturn or Closure.getGlobal method.
Summary
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.