reveal

Docs: https://vlaaad.github.io/reveal/ Source: https://github.com/vlaaad/reveal
Neil Ashton 2021-01-13T15:51:15.073800Z

Hey all! Has anyone tried using Reveal along with Weasel + Piggieback?

vlaaad 2021-01-13T19:50:47.074Z

Hi! I haven't tried this setup ๐Ÿ™‚ If you'll make it work, please consider making a write up ๐Ÿ™‚

vlaaad 2021-01-13T19:51:17.074200Z

weasel/piggieback is nrepl stuff, would reveal's nrepl middleware be enough in this case?

Neil Ashton 2021-01-13T21:26:16.074400Z

So far I havenโ€™t been able to get that to succeed. But Iโ€™m going to keep tinkering with this till I can get it to work, and I will definitely share my notes once I do!

๐Ÿ‘ 1
vlaaad 2021-01-13T22:10:19.077100Z

Hey there! I made another minor update, 1.2.186 that makes observable views more generic, e.g. you are no longer limited to refs, but instead can use any observable data source. Here is example that observes the tap queue to view latest tapped value:

{:fx/type observable-view
 ;; generic observable:
 :subscribe (fn [notify]
              (add-tap notify) ;; sub
              #(remove-tap notify)) ;; unsub
 :fn (fn [v] {:fx/type value-view :value v})}

1