nsmcp::QuestionService method cancel (public)

 <instance of nsmcp::QuestionService[i]> cancel context handle

Defined in /usr/local/ns/tcl/nsmcp/question-service.tcl

Cancel the active turn of an owned conversation. Update queued or running state under the mutex so subsequent callbacks observe cancellation.

Parameters:
context (required)
Authenticated request context carrying the principal, grants and selected server.
handle (required)
Retained job or conversation handle; ownership and expiry checks still apply.
Returns:
The cancellation/conversation result.

Testcases:
No testcase defined.
[ show source ]
Show another procedure: