coroutines-scopes

Community

Create lifecycle-bound Kotlin coroutine scopes.

AuthorClankerGuru
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Helps engineers place coroutines under explicit scopes instead of global usage, by outlining how to build a class-owned CoroutineScope with a SupervisorJob, a dispatcher, a CoroutineExceptionHandler, and a CoroutineName to manage lifecycle and debugging.

Core Features & Use Cases

  • Guides creating a scoped CoroutineScope that is owned by a class and cancelled with its lifecycle.
  • Demonstrates using launch, async, coroutineScope, and supervisorScope for structured concurrency.
  • Provides practical guidance for services, repositories, and long-lived components that perform asynchronous work.

Quick Start

Create a class with a private CoroutineScope, wires in a SupervisorJob and Dispatcher, and implement close to cancel the scope.

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-scopes
Download link: https://github.com/ClankerGuru/opsx/archive/main.zip#coroutines-scopes

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.