nsmcp::CodexQuestionRun method rpc (protected)

 <instance of nsmcp::CodexQuestionRun[i]> rpc method params

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

Parameters:
method (required)
params (required)

Testcases:
No testcase defined.
Source code:
set id [:send $method $params]
while {![dict exists ${:replies} $id]} {:receive}
set reply [dict get ${:replies} $id]
dict unset :replies $id
if {[dict exists $reply error]} {
    error "Codex App Server rejected $method (code [dict get $reply error code]): [string range [dict get $reply error message] 0 2047]"
}
return [dict get $reply result]
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: