In Java is a callback synchronous? -


When you use callback in Java (can not you do this?), Prevents execution when Until everything ends? Am I using the wrong terminology I am familiar with the purpose of the callback because it relates to the Invasion of Control, Interface, etc., not just the sequence of events.

Changed from one comment to a reply:

All method calls are synchronous, From which they return the result to the collar. However, a callback has potential asynchronous behavior in which you define a method to execute when certain tasks are completed. For that case, the status of the application can determine whether call synchronous (ie caching of resources) or not. To find out that the underlying action is synchronous or asynchronous, you need to read the documentation for the library that you are using. In summary: Read the document


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -