Liking cljdoc? Tell your friends :D

ginfer.side-effects.utils


as-ref-idsclj

(as-ref-ids {:keys [type]} data)
source

attribute->pathclj

(attribute->path attribute)

Convert attribute keyword to a list of strings, eg :some/attribute => ['some' 'attribute']

Convert attribute keyword to a list of strings, eg :some/attribute => ['some' 'attribute']
sourceraw docstring

endpoint-query?clj

(endpoint-query? {:keys [blueprints] :as state}
                 {:keys [attribute sources-data] :as args})

Check whether the conditions are right to issue an endpoint query

Check whether the conditions are right to issue an endpoint query
sourceraw docstring

get-endpoint-dataclj

(get-endpoint-data state args sources-data this)

If 'this' was previously retrieved and is still valid, return it; Else query fresh data

If 'this' was previously retrieved and is still valid, return it;
Else query fresh data
sourceraw docstring

handle-attribute-valueclj

(handle-attribute-value value & [ttl-fn])

If the value is properly initialized, return it, or nil if it is ttl'd; If the value is nil, return nil; If the value isn't properly initialized, wrap it proper

If the value is properly initialized, return it, or nil if it is ttl'd;
If the value is nil, return nil;
If the value isn't properly initialized, wrap it proper
sourceraw docstring

handle-return-valueclj

(handle-return-value blueprints node attribute value)
(handle-return-value blueprints
                     node
                     attribute
                     convert-fn
                     {data :data :as value})

If the attribute's value is initialized, return its internal :data field, Otherwise if the attribute is dynamic in essence, return the 'uninitialized' marker; Else returns nil.

If the attribute's value is initialized, return its internal :data field,
Otherwise if the attribute is dynamic in essence, return the 'uninitialized' marker;
Else returns nil.
sourceraw docstring

lookup-attribute-valueclj

(lookup-attribute-value node attribute & [ttl-fn])

Lookup the attribute value in the node, optionally trying the attribute for a nested path. Returned values are guaranteed to be properly initialized and relevant, or otherwise nil.

Lookup the attribute value in the node, optionally trying the attribute for a nested path.
Returned values are guaranteed to be properly initialized and relevant, or otherwise nil.
sourceraw docstring

prep-external-bindingclj

(prep-external-binding sources env-context external-binding)
source

query-attributeclj

(query-attribute {:keys [endpoint-connectors] :as state}
                 {:keys [attribute] :as args})

When the conditions are right for an endpoint query, invokes the Connector/query api with the endpoint connector designated by the 'connector-id'

When the conditions are right for an endpoint query, invokes the Connector/query api with
the endpoint connector designated by the 'connector-id'
sourceraw docstring

uninit-keyclj

source

uninitialized-valueclj

(uninitialized-value node attribute)
source

uninitialized?clj

(uninitialized? x)
source

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

× close