Tensegritics / ClojureDart

Clojure dialect for Flutter and Dart
1.38k stars 88 forks source link

multiple bindings in :bg-watcher #282

Open cgrand opened 8 months ago

cgrand commented 8 months ago

:bg-watcher only allows one binding currently. Extending it to support multiple bindings with switchmap-like semantics (a change in a former binding trigger cancellation of later subscriptions) would simplify a lot of code. We should allow at least :let as an additional directive/option inside these bindings.