MCPcopy Create free account
hub / github.com/github/gh-aw / fromLines

Function fromLines

actions/setup/js/apply_samples.test.cjs:164–168  ·  view source on GitHub ↗
(lines)

Source from the content-addressed store, hash-verified

162 const { sendJsonRpc } = require("./apply_samples.cjs");
163
164 async function* fromLines(lines) {
165 for (const line of lines) {
166 yield line;
167 }
168 }
169
170 it("skips non-JSON stdout lines until a JSON-RPC response arrives", async () => {
171 const writes = [];

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected