Tensegritics / ClojureDart

Clojure dialect for Flutter and Dart
1.41k stars 90 forks source link

doseq and for but for streams #287

Open cgrand opened 10 months ago

cgrand commented 10 months ago

Dart has await for to iterate over streams, we don’t have anything like this. .forEach is less powerful (you can await inside an await for and it will pause/resume the subscription. dostream would be like doseq but for streams (potentially mixed with some seqables) and await-for would be like but but would evaluate to a stream. Both are poor names: