invoke Node
suspend fun invokeNode(host: Node, target: Node, by: NodeIdentity, verb: NodeAction = NodeAction.EXECUTE)(source)
Deliberate invocation. POSTs an InvokeRequest body to ${baseUrl(host)}/node/${target.id}/invoke — the explicit replacement for the legacy state-stamp click pattern (clients posting a node with state = NodeState.EXECUTED). Under Phase 4 the server's update() does not wake a processor; this endpoint is how clicks (and any other app-side deliberate fire) reach a node's processor.
Parameters
host
The Krill server hosting target.
target
The node to invoke.
by
Identity of the originating node or actor. For a UI click the convention is by = target.id() (modelling the click as a self-EXECUTE).
verb
NodeAction.EXECUTE (default) or NodeAction.RESET.