Brew Question: Download Brew PDF
Are network callbacks invoked in the context of the main thread, and if so how is the data integrity preserved in the current context?
Answer:
All network callbacks occur within the same thread context, at some point in time after the caller returns control to the AEE event loop. If your application is busy doing something, callbacks will be queued, then invoked once your application returns control to the AEE event loop, ensuring data integrity..