Skip to content

Commit

Permalink
Add missing saved-value function
Browse files Browse the repository at this point in the history
  • Loading branch information
SevereOverfl0w committed Jan 5, 2024
1 parent 08add51 commit f0b39f1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions clojure/dev.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,20 @@

(require '[com.gfredericks.dot-slash-2 :as dot-slash-2])


(defn saved-value
"Return either value or exception of ep-info"
[& args]
(some (apply (requiring-resolve 'sc.api/ep-info) args)
[:sc.ep/value :sc.ep/error]))

(dot-slash-2/!
'{. [clojure.test/run-tests clojure.test/test-vars
{:var sc.api/spy :lazy? true :macro? true}
{:var sc.api/letsc :lazy? true :macro? true}
{:var sc.api/defsc :lazy? true :macro? true}
{:var sc.api/undefsc :lazy? true :macro? true}
{:var io.dominic.mise/saved-value}
{:var clj-async-profiler.core/profile :lazy? true :macro? true}
{:var clj-async-profiler.core/serve-ui :lazy? true :macro? false}
{:var clj-memory-meter.core/measure :lazy? true :macro? false}
Expand Down

0 comments on commit f0b39f1

Please sign in to comment.