Is it my impression, or Extension methods are called in an Asynchronous way? For instance, I'm using LeoContactList to read the phone's contact list, but if I have a message before reading the contacts and another after reading the contatcs, they are both written before the contacts are read.
Something as simple as this...EscreveLog is a function that writes the App logs to a file...but what I get in the file is:
1
2
Ant then all the Logs generated in the
You call the contact list, then in the GotContactList event you create your logs. You won't have the new contact details where you have this block placed.
Why, therefore, do you expect what you are doing to work?
Calling the contact list is completed in the gotcontactlist event, it is not completed and therefore the output cannot be used in the way you have your blocks.
To answer your original question, if an extension performs a function that returns its output to an AfterFunction event, then yes, it is usually asynchronous. But this is not always the case, and depends on the work any extension component is performing.