MCPcopy Create free account
hub / github.com/astuyve/lambda-stream / patchArgs

Function patchArgs

src/index.ts:61–67  ·  view source on GitHub ↗
(argList: any[])

Source from the content-addressed store, hash-verified

59}
60
61function patchArgs(argList: any[]): ResponseStream {
62 if (!(argList[1] instanceof ResponseStream)) {
63 const responseStream = new ResponseStream()
64 argList.splice(1, 0, responseStream)
65 }
66 return argList[1]
67}
68
69export { ResponseStream } from './ResponseStream'

Callers 1

streamifyResponseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…