MCPcopy
hub / github.com/di-sukharev/opencommit / fromReadableStream

Method fromReadableStream

out/cli.cjs:70234–70238  ·  view source on GitHub ↗

* Intended for use on the frontend, consuming a stream produced with * `.toReadableStream()` on the backend. * * Note that messages sent to the model do not appear in `.on('message')` * in this context.

(stream4)

Source from the content-addressed store, hash-verified

70232 }
70233 /**
70234 * Intended for use on the frontend, consuming a stream produced with
70235 * `.toReadableStream()` on the backend.
70236 *
70237 * Note that messages sent to the model do not appear in `.on('message')`
70238 * in this context.
70239 */
70240 static fromReadableStream(stream4) {
70241 const runner = new _MessageStream();

Callers

nothing calls this directly

Calls 2

_runMethod · 0.95
_fromReadableStreamMethod · 0.95

Tested by

no test coverage detected