[Firebase] Listener handles the requests asynchronously?

Forge Component
Published on 2019-10-02 by Labs
11 votes
Published on 2019-10-02 by Labs

Hello guys.

I'm using this component in a web app.

Users are experiencing some slowness in the UI and i'm trying to figure out if Firebase can be contributing to the slowness.

My question is, every time we receive a Firebase notification, the listener will handle the request asynchronously, i.e., is the main thread being used for the handling of this request or a new thread is being created for this handling? 

Is the thread management done directly by the listener? 

Thank you,

Rafael Valente