MCPcopy Create free account
hub / github.com/cli/cli / stream

Function stream

evals/src/graders.test.ts:55–60  ·  view source on GitHub ↗
(at = 15, id = "event-review", reviewId = 7)

Source from the content-addressed store, hash-verified

53}
54
55function stream(at = 15, id = "event-review", reviewId = 7): GhCall["output"][number] {
56 return { at, stream: "stdout", text: JSON.stringify({
57 id, type: "com.github.pull_request.review.submitted.v1",
58 data: { api_url: `https://api.github.com/repos/sandbox/run/pulls/1/reviews/${reviewId}` },
59 }) + "\n" };
60}
61
62function read(id: string, at: number): GhCall {
63 return {

Callers 3

waitFunction · 0.70
graders.test.tsFile · 0.70
routeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected