T
- the type of the provided valueF
- the type returned on failurepublic static class AsyncProvider extends Object
Callback
. For example, the instance might be
created within a GWT.runAsync block using the following template:
public void get(final Callbackcallback) { GWT.runAsync(new RunAsyncCallback() { public void onSuccess() { callback.onSuccess(javax.inject.Provider .get()); } public void onFailure(Throwable ex) { callback.onFailure(ex); } } }
Copyright © 2018. All rights reserved.