Question

Does this call block? Or is it in another thread and control can go beyond this statement?

Was it helpful?

Solution

It doesn't block. The message is put into a queue. This is then picked up by the Handler after the delay has expired.

Which thread is used to run the handleMessage depends on which Handler you use to send it to.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top