kod po Gwt rpc AsyncCallbak nie zostanie wykonany?

Nie rozumiem, dlaczego kod po AsyncCallback gwt rpc nie zostanie wykonany?

na przykład mam interfejs AppService rozszerza RemoteService, więc będę miał AsyncAppService, który wykonuje asynchroniczne wywołanie.

następujący kod

<code>            AppServiceAsync service = GWT.create (AppService.class);
        service.getCurrentUser(new AsyncCallback<Employee>(){

            public void onFailure(Throwable caught) {

            }

            public void onSuccess(Employee result) {
                currentUser = result;
            }

        });
 // if i have the code after the above call, these code will not be execute, what is the problem
//code following will not be executed if they are in the same function.
    boolean isAdmin = false;
        if(currentUser!=null){
            if(currentUser.getUserRole().equals("ROLE_ADMIN") ||
                    currentUser.getUserRole().equals("ROLE_MANAGER")){
                isAdmin = true;
            }
        }
</code>

Dziękuję za wyjaśnienie

questionAnswers(2)

yourAnswerToTheQuestion