Created
February 14, 2017 19:37
-
-
Save ipapaste/fbf90b5f1f7652b3136fe3d3af0d43fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public Future<List<GenericDTO>> getCars(String city) { | |
final Tuple2<Future<List<GenericDTO>>, AsyncCallback<List<GenericDTO>>> futureCallback = AsyncUtils.make(); | |
rpcServiceAsync.getMediaGroups(city, futureCallback._2); | |
return futureCallback._1; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment