(emit-count event-type monitoring cnt)(emit-latency event-type monitoring f)(emit-latency-2 monitoring event-name & body)Start a test env in a way that shuts down after body is completed. Useful for running tests that can be killed, and re-run without bouncing the repl.
Start a test env in a way that shuts down after body is completed. Useful for running tests that can be killed, and re-run without bouncing the repl.
(emit-latency-value event-type monitoring elapsed)(measure-latency f g)Calls f, and passing the amount of time it took to call and return f in milliseconds to g. Returns the value that calling f returned.
Calls f, and passing the amount of time it took to call and return f in milliseconds to g. Returns the value that calling f returned.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |