Fork me on GitHub
#core-async
<
2017-05-08
>
Niclas08:05:05

Is there any way of specing async channels and the data that may be sent over them?

bbss13:05:26

@looved I guess you could add

{:pre [...spec..]
   :post [..spec..]}
to a mapping transducer

bbss14:05:08

and maybe some more can be done with the macro: https://clojure.org/guides/spec#_macros