Open JakeWharton opened 4 months ago
Since the JS VM runs on a single thread, doing heavy work in a service dispatch will block other work. This thread should be treated like a main thread, so let's detect slow dispatches and feed them to an event listener for user action.
Since the JS VM runs on a single thread, doing heavy work in a service dispatch will block other work. This thread should be treated like a main thread, so let's detect slow dispatches and feed them to an event listener for user action.