Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Kotlin Cookbook - Co-routines

 
Ranch Hand
Posts: 462
Scala jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ken,
I can see you book has a section on co-routines at the end, is this an in depth look? What sort of problems/issues are covered?
 
gunslinger & author
Posts: 158
11
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"In depth" is a strong word. The challenge with coroutines is that there are a lot of moving parts, so I tried to break them down into what they do and where to use them. I look at builders and dispatchers, and then how to use them.

Here are the individual recipes:

Coroutines and Structured Concurrency
* 13.1 Choosing Coroutine Builders
* 13.2 Replacing async/await with withContext
* 13.3 Working with Dispatchers
* 13.4 Running Coroutines on a Java Thread Pool
* 13.5 Cancelling Coroutines
* 13.6 Debugging Coroutines

This is part of an annotated table of contents I added to my blog in my blog.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic