T - The type of the return value that was declared in the synchronous version of the method. If the return
type is a primitive, use the boxed version of that primitive (for example, an int return type
becomes an Integer type argument, and a void return type becomes a Void type
argument, which is always null).public class NativeAsyncCallback<T> extends Object implements com.google.gwt.user.client.rpc.AsyncCallback<T>
| Constructor and Description |
|---|
NativeAsyncCallback(JavaScriptObject onSuccess,
JavaScriptObject onFailure)
Creates a new native
AsyncCallback by wrapping the given JavaScript functions. |
public NativeAsyncCallback(JavaScriptObject onSuccess, JavaScriptObject onFailure)
AsyncCallback by wrapping the given JavaScript functions.onSuccess - the JavaScript function to call on successonFailure - the JavaScript function to call on failureCopyright © 2004–2016 XWiki. All rights reserved.