Skip to content

Instantly share code, notes, and snippets.

@dvliman
Created April 3, 2022 22:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dvliman/607974927b33b0e734de3704976bb32f to your computer and use it in GitHub Desktop.
Save dvliman/607974927b33b0e734de3704976bb32f to your computer and use it in GitHub Desktop.
;; encoder.clj
(defstate encoder
:start (try
(start-stream)
(catch Exception e))
;; error-handling here
:stop (stop-stream))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment