When server-side method called in development mode, callbacks (registered by withSuccessHandler and withFailureHandler) fired at once, and callbacks executed same thread. Originaly, server-side methods are asynchronous. But in development mode, it behaves like synchronous.
I think, in development, only success callback should fired, because of easy to development for now.
When server-side method called in development mode, callbacks (registered by
withSuccessHandler
andwithFailureHandler
) fired at once, and callbacks executed same thread. Originaly, server-side methods are asynchronous. But in development mode, it behaves like synchronous.I think, in development, only success callback should fired, because of easy to development for now.