Facebook icon GitHub icon LinkedIn icon Mastodon icon Instagram icon Pinterest icon YouTube icon Twitter icon
Rick Busarow
  • Home
  • Writing
  • Speaking
  • Projects
Subscribe
Tagged

Coroutines

A collection of 4 posts

Projects

Dispatch

Automatic CoroutineDispatcher injection and extensions for kotlinx.coroutines

  • Rick Busarow
Rick Busarow Sep 12, 2021 • 1 min read
Stronger Typing for CoroutineScopes
Kotlin

Stronger Typing for CoroutineScopes

Don't guess about what kind of CoroutineScope you have.

  • Rick Busarow
Rick Busarow Jan 11, 2020 • 5 min read
Kotlin

Why your class probably shouldn’t implement CoroutineScope

Prior to the introduction of CoroutineScope and Structured Concurrency, when we wanted to create a coroutine in a class we would do something like this: class SomeClass { fun fireAndForget() { launch { ... } } } When the coroutines team introduced Structured Concurrency, they changed the coroutine builder functions launch() and async() from being top-level to

  • Rick Busarow
Rick Busarow Jun 9, 2019 • 2 min read
Eliminating Coroutine leaks in tests
Coroutines

Eliminating Coroutine leaks in tests

Coroutines are all the rage right now, and if you’re writing coroutines, you’re probably writing tests for them. Writing tests for coroutines can be difficult, not only because of concurrency concerns, but because it is very easy to create leaks which live on past the lifecycle of an

  • Rick Busarow
Rick Busarow May 24, 2019 • 8 min read
Rick Busarow © 2025
  • github
Powered by Ghost