Which dispatcher should be used for network and disk operations?

  1. Dispatchers.Main
  2. Dispatchers.Default
  3. Dispatchers.IO
  4. Dispatchers.Unconfined
Answer

C) Dispatchers.IO

IO is optimised for blocking I/O.

Computer Science MCQ · More Threading and Publishing Android Applications MCQs · Practise