Ephemeral, session-owned callbacks into a live SDK application. No code is uploaded. Registration outlives environment recycling, but never its owning client lease.
Ephemeral, session-owned callbacks into a live SDK application. No code is uploaded. Registration outlives environment recycling, but never its owning client lease.
(activity! sid owner id presentation)Publish presentation data; lifecycle and invocation identity remain host-owned.
Publish presentation data; lifecycle and invocation identity remain host-owned.
(complete! sid owner id payload)(complete! sid owner id payload resolve-attachments)Deliver a result from an in-process caller.
Deliver a result from an in-process caller.
(complete-request! sid owner id body resolve-attachments)Check the decompressed byte count before decoding the result.
Check the decompressed byte count before decoding the result.
(detach! sid)Forget a session's callbacks and wake pending calls. Existing adapters fail closed.
Forget a session's callbacks and wake pending calls. Existing adapters fail closed.
(detach-owned! sid owner)Refuse cross-owner detach; repeated detach by a live owner is harmless.
Refuse cross-owner detach; repeated detach by a live owner is harmless.
(detach-owner! owner)Release every registration held by a disconnected client.
Release every registration held by a disconnected client.
(extensions-for sid)Live declarations for a newly created or recycled session environment.
Live declarations for a newly created or recycled session environment.
(pending sid owner)Read pending invocations for exactly one live owning client, without consuming them.
Read pending invocations for exactly one live owning client, without consuming them.
(register! sid owner payload live? environment)Validate an append-only declaration set against an idle session's loaded tools. An existing declaration can change only its static prompt. The caller holds its turn lock through installation. live? checks the actual lease.
Validate an append-only declaration set against an idle session's loaded tools. An existing declaration can change only its static prompt. The caller holds its turn lock through installation. live? checks the actual lease.
(with-waiter sid owner wake f)Wake the caller when a new invocation arrives or the registration is lost.
Wake the caller when a new invocation arrives or the registration is lost.
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 |