kotlin-coroutines-flows

kotlin coroutines flows

affaan-m 232k ↓ 5.4k MIT updated 25d ago
Claude Code
View source ↗

What it does

  • Writing async code with Kotlin coroutines
  • Using Flow, StateFlow, or SharedFlow for reactive data
  • Handling concurrent operations (parallel loading, debounce, retry)
  • Testing coroutines and Flows
  • Managing coroutine scopes and cancellation
  • Using GlobalScope — leaks coroutines, no structured cancellation
  • Collecting Flows in init {} without a scope — use viewModelScope.launch

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

kotlin coroutines flows

Source

Repository: https://github.com/affaan-m/everything-claude-code

kotlin-coroutines-flows FAQ

What does the kotlin-coroutines-flows skill do?

Kotlin Coroutines and Flow patterns for Android and KMP — structured concurrency, Flow operators, StateFlow, error handling, and testing. Writing async code with Kotlin coroutines Using Flow, StateFlow, or SharedFlow for reactive data

How do I install kotlin-coroutines-flows?

Run: npx -y skills add https://github.com/affaan-m/everything-claude-code --skill kotlin-coroutines-flows --agent claude-code — the source lives at github.com/affaan-m/everything-claude-code.

Maintain kotlin-coroutines-flows?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

kotlin-coroutines-flows on getagentictools
[![kotlin-coroutines-flows on getagentictools](https://getagentictools.com/badge/skills/affaan-m-everything-claude-code-kotlin-coroutines-flows.svg)](https://getagentictools.com/skills/affaan-m-everything-claude-code-kotlin-coroutines-flows?ref=badge)
npx agentictools info skills/affaan-m-everything-claude-code-kotlin-coroutines-flows

The second line is the CLI lookup for this page — handy in READMEs and docs.