Liking cljdoc? Tell your friends :D

aido.core


ERRORclj/s

source

FAILUREclj/s

source

get-memoryclj/s

(get-memory db length key)
(get-memory db length key not-found)

Get one of the namespaced working-memory assignments.

Get one of the namespaced working-memory assignments.
sourceraw docstring

get-node-memoryclj/s

(get-node-memory db node-id)
(get-node-memory db node-id not-found)
source

get-working-memoryclj/s

(get-working-memory db key)
(get-working-memory db key not-found)
source

has-failed?clj/s

source

has-succeeded?clj/s

(has-succeeded? result)

Given a TickResult returns true if the status is SUCCESS or RUNNING

Given a TickResult returns true if the status is SUCCESS or RUNNING
sourceraw docstring

in-progress?clj/s

(in-progress? result)
source

LTS-KEYclj/s

source

run-tickclj/s

(run-tick db tree)
(run-tick db tree local-defs)

The run-tick function is a top-level function for sending a tick to a node tree. Its purpose is to temporarily assocation a map of working definitions for use during that tick into a well-known part of the working memory database and then remove them once the tick is complete. The map is associated under the key :aido/wmem.

The run-tick function is a top-level function for sending a tick to a node tree. Its purpose is to
temporarily assocation a map of working definitions for use during that tick into a well-known part of
the working memory database and then remove them once the tick is complete. The map is associated
under the key `:aido/wmem`.
sourceraw docstring

RUNNINGclj/s

source

set-memoryclj/s

(set-memory db length key mem)

Store a set of assignments in a fixed location, namespaced to aido.

Store a set of assignments in a fixed location, namespaced to aido.
sourceraw docstring

set-node-memoryclj/s

(set-node-memory db node-id mem)

Sets memory that is associated with a specific node. This memory persists in the database between tree ticks.

Sets memory that is associated with a specific node. This memory persists in the database between tree ticks.
sourceraw docstring

set-working-memoryclj/s

(set-working-memory db key mem)

Sets a key-value pair in working memory. This memory is reset at the end of the tick.

Sets a key-value pair in working memory. This memory is reset at the end of the tick.
sourceraw docstring

STS-KEYclj/s

source

succeed-ifclj/s

(succeed-if pred)
source

SUCCESSclj/s

source

tick-childclj/s

(tick-child db child)
source

tick-errorclj/s

(tick-error db error)
source

tick-failureclj/s

(tick-failure db)
source

tick-resultclj/s

(tick-result status db)
source

tick-runningclj/s

(tick-running db id)
source

tick-successclj/s

(tick-success db)

Called when a tick function has succeeded. Takes the new db state to be returned.

Called when a tick function has succeeded. Takes the new db state to be returned.
sourceraw docstring

TickResultclj/s

source

valid-statusesclj/s

source

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

× close