(execute-watches! tessera watches)
Executes the supplied watches, either directly in this thread or by submitting to the optional ExecutorService supplied when the watch was added.
Executes the supplied watches, either directly in this thread or by submitting to the optional ExecutorService supplied when the watch was added.
(register-watch-fn tessera watch-fn executor)
Attempts to register the watch-fn, so long as the tessera is still pending. Returns a unique watch token if the watch is registered; nil otherwise.
Attempts to register the watch-fn, so long as the tessera is still pending. Returns a unique watch token if the watch is registered; nil otherwise.
(unregister-watch-fn tessera token)
Attempts to unregister the watch, so long as the tessera is still pending. Returns true if the watch is unregistered; false if called too late.
Attempts to unregister the watch, so long as the tessera is still pending. Returns true if the watch is unregistered; false if called too late.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close