Closed awb99 closed 3 months ago
(defn poll-task "derive discrete flow from succession of polled values from a task (or mbox)" [task]
(m/ap (loop [v (m/? task)] (m/amb v (recur (m/? task))))))
(defn poll-task "derive discrete flow from succession of polled values from a task (or mbox)" [task]
_(m/ap (m/? (m/?> (m/seed (repeat mbox)))))
(m/ap (loop [v (m/? task)] (m/amb v (recur (m/? task))))))