Skip to content

Instantly share code, notes, and snippets.

@ztellman
Created January 22, 2015 21:38
Show Gist options
  • Select an option

  • Save ztellman/09c26dbfd73dee78ed4a to your computer and use it in GitHub Desktop.

Select an option

Save ztellman/09c26dbfd73dee78ed4a to your computer and use it in GitHub Desktop.
(defn split-spliced-stream [s]
(let [in (a/chan)
out (a/chan)]
(s/connect s in)
(s/connect out s)
[in out]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment