GENERATED — do not edit. Regenerate with
bb api-index. One section per brick: itsinterfacenamespace and public fns/defs. Everything outside these namespaces is internal and may change without notice.
datastar — taia.ds.datastar.interfacecomponents/datastar/src/taia/ds/datastar/interface.cljc
handler-component-event (def) — Ring handler for dynamic component events (/ds/nds///):handler-connected-component-connect (def) — Async Ring handler that opens an SSE connection for a connected componentset-observer! [f] — Installs f as the observer of component events on /ds/nds andset-component-search-paths! [paths] — Sets the ordered list of namespace prefixes used to resolve components.warm-component-cache! [component-names] — Pre-resolves the given Datastar components into the discovery cache so theprocess-component-event [req component-name component-id event-name controller-name] — Runs the component pipeline in-process (discovery → FSM transition →send-ui! [component-id user-id component-responses] — Puts component-responses onto the UI channel for async delivery toctx->data-signals [ctx] — The data-signals attribute value for a component's root element: thehtml-response [hiccup] — Ring 200 text/html response for hiccup — e.g. the full-page render thatextensions — taia.ds.extensions.interfacecomponents/extensions/src/taia/ds/extensions/interface.cljc
assoc-if [o p v when?] — Assocs k->v onto o only when when? is truthy; otherwise returns o unchanged.assoc-existing [o p v] — Assocs k->v onto o only when key p already has a truthy value in o.update-if [o p v when?] — Updates key p in o with fn v only when when? is truthy; otherwise returns o unchanged.update-in-if [o p v when?] — Updates path p in o with fn v only when when? is truthy; otherwise returns o unchanged.update-existing [o p v] — Updates key p in o with fn v only when p already has a truthy value in o.update-in-existing [o p v] — Updates path p in o with fn v only when the path already has a truthy value in o.logging — taia.ds.logging.interfacecomponents/logging/src/taia/ds/logging/interface.cljc
set-log-level! [level] — Sets the global log level. Called once at startup from config.log-level [] — Returns the current global log level.trace-enabled? [level min-level] — Returns true when trace at level should be emitted given min-level.with-context [ctx & body] — Macro wrapper for mulog/with-context.trace-when [condition event-name pairs & body] — When condition is true, runs (u/trace event-name pairs body).trace [event-name pairs & body] — Always runs (u/trace event-name pairs body).warn [event-name pairs] — Emits a discrete mulog event at warn severity. Unlike trace, this islocal-context [] — Function wrapper for mulog/local-context.flatten-ctx [ctx] — Returns a mulog context that re-parents a span directly under the turn'ssafe-for-log [v] — Returns a single log-safe string representation of v, suitable asstate-machines — taia.ds.state-machines.interfacecomponents/state-machines/src/taia/ds/state_machines/interface.cljc
transition [machine :- domain/MachineDefinition from-state :- domain/Context [event-name event-params] :- domain/Event] [machine :- domain/MachineDefinition from-state :- domain/Context [event-name event-params] :- domain/Event opts :- domain/TransitionOpts] :- domain/Context — Runs a state machine transition. Returns the updated context map containingmake-machine-testable (def) — Replaces named fn values in a machine with their vars so with-redefs can intercept them in tests.Can you improve this documentation?Edit on GitHub
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 |