What problem does it solve?
It helps you build and maintain asynchronous or infinite data-processing flows in Go without brittle goroutine and channel choreography, while keeping errors, backpressure, and cancellation correct.
Core Features & Use Cases
- Declarative reactive pipelines: chain 150+ operators with compile-time type safety via typed Pipe functions, including Map/Filter/FlatMap and timed operators.
- Correct stream lifecycle management: use observers with onNext/onError/onComplete, subscriptions with Wait/Unsubscribe, and context integration for clean shutdown.
- Hot/cold composition and subjects: model shared event streams with Share/ShareReplay or dedicated subject types (Publish, Behavior, Replay, Async, Unicast).
- Use cases: infinite event ingestion (WebSockets, file watchers, tickers), real-time enrichment combining multiple sources, and resilient pipelines using retry, timeouts, and fallbacks.
Quick Start
Ask Claude Code to build a debounced file-change reactive pipeline in Go using samber/ro to watch a directory and reload configuration safely with backpressure-aware operators.