Liking cljdoc? Tell your friends :D

fractal-engine.rlm

RLM invocation values, handles, envelopes, and attach target resolution.

A session is durable identity; a head is immutable state; invocation facts are edges between session heads. This namespace owns those values, not the provider loop that executes work.

RLM invocation values, handles, envelopes, and attach target resolution.

A session is durable identity; a head is immutable state; invocation facts are
edges between session heads. This namespace owns those values, not the provider
loop that executes work.
raw docstring

assemble-batch-resultsclj

(assemble-batch-results results)

Fold per-item fan-out results into one vector aligned to input order. A success contributes its value; a failure contributes a :fractal/failed sentinel in its slot. Partial failure never throws -- the successes return for sure, and the failures stay legible so the model can record missingness instead of silently undercounting. :fractal/ namespaces the sentinel so it cannot collide with a leaf's or child's own domain value.

Fold per-item fan-out results into one vector aligned to input order. A success
contributes its value; a failure contributes a `:fractal/failed` sentinel in its
slot. Partial failure never throws -- the successes return for sure, and the
failures stay legible so the model can record missingness instead of silently
undercounting. `:fractal/` namespaces the sentinel so it cannot collide with a
leaf's or child's own domain value.
sourceraw docstring

cache-id-for-locatorclj

(cache-id-for-locator locator fallback)
source

child-final-valueclj

(child-final-value result cid errs)

Validate a sub-session result and return its FINAL value, or throw a typed error. errs supplies the error types for the spawning kind: {:failed .. :no-final ..} (child vs attach). A child's returned value is a claim until it carries a FINAL.

Validate a sub-session result and return its FINAL value, or throw a typed error.
`errs` supplies the error types for the spawning kind: {:failed .. :no-final ..}
(child vs attach). A child's returned value is a claim until it carries a FINAL.
sourceraw docstring

compact-previewclj

(compact-preview value n)
source

current-head-id-for-locatorclj

(current-head-id-for-locator locator)
source

current-turn-head-beforeclj

(current-turn-head-before state)
source

envelopeclj

(envelope value inv input)
source

explicit-head-handle?clj

(explicit-head-handle? handle opts)
source

handle-head-idclj

(handle-head-id handle opts)
source

handle-store-rootclj

(handle-store-root state handle)
source

invocation-handle-forclj

(invocation-handle-for session-id head-id cache-id store-root)
source

invocation-head-handleclj

(invocation-head-handle inv)
source

invocation-kindclj

(invocation-kind inv)
source

invocation-payload-ref!clj

(invocation-payload-ref! state part value)
source

invocation-session-handleclj

(invocation-session-handle inv)
source

logical-session-id-for-locatorclj

(logical-session-id-for-locator locator fallback)
source

read-session-rowclj

(read-session-row locator)
source

record-invocation!clj

(record-invocation! state
                    call-id
                    invocation-type
                    input
                    result
                    status
                    error
                    extra)
source

resolve-attach-targetclj

(resolve-attach-target state handle opts)
source

rlm-metaclj

(rlm-meta value inv input)
source

stable-handle-targetclj

(stable-handle-target state handle opts)
source

state-store-rootclj

(state-store-root state)
source

store-root-for-locatorclj

(store-root-for-locator locator fallback-root)
source

task-labelclj

(task-label input)
source

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close