mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-23 10:00:35 +00:00
The future/promise pair is for single-shot use only, which makes it less useful for repetitive processing. Add a stream/subscription abstraction, where a stream can produce data which is repetitively consumed by the subscription. End-or-stream (or error condition) is provided by a future. Inspired by Dart's Stream class.