GitHub - richkadel/jsfunction-gwt: Extensive support for passing GWT Java functions to JavaScript APIs that require JavaScript functions

Note that this library is now maintained in the Harmonia Holdings Group GitHub site for JSFunction-GWT

See the full project page and JavaDoc.

Extensive support for passing GWT Java functions to JavaScript APIs that require JavaScript functions.

The library supports:

  • Passing Java functions to javascript for future invocation (e.g., callbacks)
  • Calling JavaScript functions that return results asynchronously (that is, the JavaScript method will invoke a Java result handler when the result is available)
  • No-argument functions and functions with variable length argument lists
  • Optional support for passing non-JavaScript Java Objects as types or return values (which can be handy, but use with caution as these objects cannot be serialized,such as with JSON)