Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Call callback inside another one

 
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you please suggest me, how can i call inside of first AsyncCallback after calling on Success, the second AsyncCyllback? i use gwt rpc and load my data into ui, and after calling this first AsyncCallback on Success method i must call another AsyncCallback that execute the next part of the first AsyncCallback
 
Sheriff
Posts: 9643
42
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you want to make another server side Async call or just call a callback? What issue are you facing with implementing whatever you are doing?
 
Greenhorn
Posts: 1
IntelliJ IDE AngularJS Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Chaining Aysn call is doable in GWT. Not sure why yours does not work.
do you have any sample?

Or try promise to avoid too many chains: https://code.google.com/p/gwtquery/wiki/Promises
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!