The interface implemented by dataselector records to realize their results
The interface implemented by dataselector records to realize their results
(get-value! this deps)
returns the value for the dataselector
returns the value for the dataselector
(selector-dependencies this)
returns a list of data selectors this dataselector depends on
returns a list of data selectors this dataselector depends on
Implemented by function and component caches
Implemented by function and component caches
(create-node! this data-selector)
create node and follow init lifecycle
create node and follow init lifecycle
(gc this data-selector)
Schedule clean up of the resources for dataselector
Schedule clean up of the resources for dataselector
(get-node this data-selector)
gets node for dataselector
gets node for dataselector
A utility API for tracking dependencies, allows us to provide more advanced options for assembling tracker policies
A utility API for tracking dependencies, allows us to provide more advanced options for assembling tracker policies
(dependents this)
The current dependencies encountered by this tracker
The current dependencies encountered by this tracker
(get-value this)
Returns cached value if exists for params
Returns cached value if exists for params
(invalidate! this)
(resolve-value! this)
Informs store that a particular params yeilds value given current store + deps
Informs store that a particular params yeilds value given current store + deps
Implemented by function and component caches
Implemented by function and component caches
(depend! this dependent)
Dependency sources call this method if a tracker is bound in the current context with dependencies that are encountered during query processing.
Dependency sources call this method if a tracker is bound in the current context with dependencies that are encountered during query processing.
(un-depend! this dependent)
(add-dep _ dep)
track new dependency
track new dependency
(commit _)
commit transaction
commit transaction
(start _)
initialize transaction
initialize transaction
public interface
public interface
(clear! this)
(get-key this key)
(set-key this key value)
(swap-key! this fn)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close