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

Function onStreamingThinking

src/utils/messages.streamingThinking.test.ts:16–20  ·  view source on GitHub ↗
(
      update: (current: StreamingThinking | null) => StreamingThinking | null,
    )

Source from the content-addressed store, hash-verified

14
15 let currentThinking: StreamingThinking | null = null
16 const onStreamingThinking = (
17 update: (current: StreamingThinking | null) => StreamingThinking | null,
18 ) => {
19 currentThinking = update(currentThinking)
20 }
21
22 handleMessageFromStream(
23 {

Callers 1

handleMessageFromStreamFunction · 0.85

Calls 1

updateFunction · 0.50

Tested by

no test coverage detected