Hello! It’s recommended to call another task inside (m/via m/blk ...) like this?
(def app
(m/sp
(m/join vector (m/via m/blk (m/? (other-task)))
...)))it is suboptimal, an OS thread will be blocked waiting for other-task to finish
I think the question is given a task t how to offload it on a thread idiomatically
So inside (m/via m/blk) only “pure clojure” (no missionary stuff) is recommended.
yes, should be only for interop with blocking APIs