What problem does it solve?
This Skill helps you design and implement asynchronous, potentially infinite, reactive dataflows in Go without tangled goroutines and fragile channel/error handling.
Core Features & Use Cases
- Reactive streams with type-safe operators: Compose end-to-end pipelines using
ro.Pipe2 through ro.Pipe25 to keep transformations correct at compile time.
- Cold vs hot execution and subject-based event buses: Use
Share, ShareReplay, and the five subject types (Publish/Behavior/Replay/Async/Unicast) to match your event lifecycle.
- Production-grade controls: Apply backpressure-oriented stream design patterns, retries with exponential backoff, timeouts, batching, and robust error propagation through the pipeline error channel.
- Go context integration for cancellation: Respect request timeouts and shutdown signals using context operators and context-cancel-to-error conversion.
Quick Start
Ask for a Go example that builds a samber/ro pipeline using typed Pipe operators, retries with backoff, and context cancellation for graceful shutdown.