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.
(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.
(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.(record-invocation! state
call-id
invocation-type
input
result
status
error
extra)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |