Tensegritics / ClojureDart

Clojure dialect for Flutter and Dart
1.44k stars 91 forks source link

doseq and for but for streams #287

Open cgrand opened 1 year ago

cgrand commented 1 year 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: