Skip to content

Instantly share code, notes, and snippets.

@edewit
Last active December 16, 2015 03:38
Show Gist options
  • Save edewit/5370857 to your computer and use it in GitHub Desktop.
Save edewit/5370857 to your computer and use it in GitHub Desktop.
Example use of the Errai AeroGear Wrappers
Pipe<Project> pipe = new PipeFactory().createPipe(Project.class, new Config("project"));
pipe.read(new DefaultCallback<List<Project>>() {
@Override
public void onSuccess(List<Project> result) {
System.out.println("All the projects... " + result);
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment