MCPcopy Create free account
hub / github.com/chatbotkit/node-sdk / streamIt

Function streamIt

packages/react/src/utils/stream.js:35–58  ·  view source on GitHub ↗

* @todo come up with a better type for source and result * * @typedef {any} StreamSource * @typedef {any} StreamResult * * This function is used on the server to stream data to the client. * * @internal * @param {StreamSource} source * @returns {StreamResult}

(source)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

streamFunction · 0.85

Calls 4

resolveFunction · 0.85
streamMethod · 0.80
thenMethod · 0.80
catchMethod · 0.80

Tested by

no test coverage detected