For example I have connect() function which request to another component to open internet connection
and when connection is up notify about this comes via callback.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How to test asynchronous functions?
For example I have connect() function which request to another component to open internet connection
and when connection is up notify about this comes via callback.