Chaque coroutine s'exécute dans un CoroutineContext - un ensemble de règles qui comprend un travail (pour l'annulation), un répartiteur (quel pool de threads exécute le code) et des clés utilisateur facultatives. Vous créez rarement des contextes à la main ; vous en héritez d'une portée ou utilisez withContext pour changer d'élément.

Qu'est-ce qu'un répartiteur
Full content is available with a subscription.
Get full access to all courses on the platform for one year with a single payment.
Unlike other platforms that charge per course, here you get everything for one price, and after one year of use there will be no automatic charge for the following year.