coroutines-context-dispatchers

Community

Manage coroutine contexts and dispatchers safely

AuthorClankerGuru
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Understanding and managing Kotlin CoroutineContext and dispatcher behavior to ensure correct thread usage, cancellation, and composability across asynchronous code.

Core Features & Use Cases

  • Understand the elements in CoroutineContext (Job, CoroutineName, CoroutineDispatcher, etc.) and how they influence lifecycle and debugging.
  • Learn to compose contexts using the + operator and switch dispatchers at module boundaries with withContext.
  • Implement and inject dispatchers for testability, create custom dispatchers, and reason about limited parallelism and confinement.

Quick Start

Follow this guide to apply proper CoroutineContext composition and dispatcher selection in your Kotlin coroutines.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: coroutines-context-dispatchers
Download link: https://github.com/ClankerGuru/opsx/archive/main.zip#coroutines-context-dispatchers

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.