Coroutine Context Flashcards

1
Q

What is Coroutine Context?

A

Coroutine context is a set of elements which defines the behavior of coroutines.

  1. Job- controls lifecycle of coroutines
  2. CoroutineDispatcher- dispatches work to the appropriate thread
  3. coroutinename - used for debugging
  4. coroutineexceptionhandler - handles uncaught exceptions.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly