Get the latest tech news
Clojure Async Flow Guide
tting started The flow library enables a strict separation application logic from the deployment concerns of topology, execution, communication, lifecycle, monitoring and error handling. Step fns and process launchers You provide logic to flow in the form of step-fns, which are wrapped into running processes, executing in a loop.
The flow library enables a strict separation application logic from the deployment concerns of topology, execution, communication, lifecycle, monitoring and error handling. Flow manages the life cycle of the process and handles incoming and outgoing messages by putting or taking them on channels. The proc-def is a map with:proc(the process launcher), the:args(passed to the init arity of the step-fn), and the:chan-opts which can be used to specify channel properties.
Or read this on Hacker News