leonoel / missionary

A functional effect and streaming system for Clojure/Script
Eclipse Public License 2.0
636 stars 26 forks source link

Task? Flow? #113

Open awb99 opened 1 month ago

awb99 commented 1 month ago

It would be great to have a (defn task? [v] that returns true if it is a missionary task, otherwise false.

Same would be useful for flow.

Why?

I want to write a value to the browser dom. In order to use different paths to render a dom value or a task that returns eventually a dom value I need some way to determine what kind of value I have.

Perhaps such information can be added as meta data?

Thanks.

leonoel commented 1 month ago

related - https://github.com/leonoel/missionary/issues/110 https://github.com/leonoel/missionary/issues/63