(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.
(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
(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`.
(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.
(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.
(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.
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close