coroutines-channels-select

Community

Coordinate coroutines with Channel select

AuthorClankerGuru
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill coordinates Kotlin coroutines that must exchange values directly using Channel-based communication, providing backpressure and robust interaction between producers and consumers.

Core Features & Use Cases

  • Channel basics: a coroutine-aware queue with send/receive semantics and lifecycle controls (close, cancel).
  • Capacity and buffering options: RENDEZVOUS, BUFFERED, UNLIMITED, CONFLATED, and their backpressure implications.
  • Producer-consumer patterns: fan-out/fan-in, multiple producers feeding a single consumer.
  • Produce/consume patterns: using produce builders and safe consumption of channels.
  • select-based coordination: racing multiple sources with onReceive, onSend, onAwait, and onTimeout.
  • Safe cancellation and error handling: predictable shutdown when producers or consumers fail.

Quick Start

Ask the AI to implement a Kotlin coroutine example that demonstrates Channel-based communication with select across multiple producers and a consumer.

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

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.