MCPcopy Create free account
hub / github.com/Noumena-Network/code / sendControlResponseSuccess

Function sendControlResponseSuccess

src/cli/print.ts:2768–2780  ·  view source on GitHub ↗
(
    message: SDKControlRequest,
    response?: Record<string, unknown>,
  )

Source from the content-addressed store, hash-verified

2766 }
2767
2768 const sendControlResponseSuccess = function (
2769 message: SDKControlRequest,
2770 response?: Record<string, unknown>,
2771 ) {
2772 output.enqueue({
2773 type: 'control_response',
2774 response: {
2775 subtype: 'success',
2776 request_id: message.request_id,
2777 response: response,
2778 },
2779 })
2780 }
2781
2782 const sendControlResponseError = function (
2783 message: SDKControlRequest,

Callers 1

runHeadlessStreamingFunction · 0.85

Calls 1

enqueueMethod · 0.45

Tested by

no test coverage detected