Liking cljdoc? Tell your friends :D

hitch.protocols


*dependent*cljs

source

*dynamic-dep-tx*cljs

source

IDataSelectorcljsprotocol

The interface implemented by dataselector records to realize their results

The interface implemented by dataselector records to realize their results

get-value!cljs

(get-value! this deps)

returns the value for the dataselector

returns the value for the dataselector
sourceraw docstring

IDataSelectorDynamicRefscljsprotocol

source

IDataSelectorStaticRefscljsprotocol

selector-dependenciescljs

(selector-dependencies this)

returns a list of data selectors this dataselector depends on

returns a list of data selectors this dataselector depends on
source

IDependencyGraphcljsprotocol

Implemented by function and component caches

Implemented by function and component caches

create-node!cljs

(create-node! this data-selector)

create node and follow init lifecycle

create node and follow init lifecycle

gccljs

(gc this data-selector)

Schedule clean up of the resources for dataselector

Schedule clean up of the resources for dataselector

get-nodecljs

(get-node this data-selector)

gets node for dataselector

gets node for dataselector
sourceraw docstring

IDependencyNodecljsprotocol

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

dependentscljs

(dependents this)

The current dependencies encountered by this tracker

The current dependencies encountered by this tracker

get-valuecljs

(get-value this)

Returns cached value if exists for params

Returns cached value if exists for params

invalidate!cljs

(invalidate! this)

resolve-value!cljs

(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
sourceraw docstring

IDependencyTrackercljsprotocol

Implemented by function and component caches

Implemented by function and component caches

depend!cljs

(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!cljs

(un-depend! this dependent)
sourceraw docstring

IDependentTransactioncljsprotocol

add-depcljs

(add-dep _ dep)

track new dependency

track new dependency

commitcljs

(commit _)

commit transaction

commit transaction

startcljs

(start _)

initialize transaction

initialize transaction
source

IKeyStorecljsprotocol

public interface

public interface

clear!cljs

(clear! this)

get-keycljs

(get-key this key)

set-keycljs

(set-key this key value)

swap-key!cljs

(swap-key! this fn)
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close