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

Function dedicatedWait

evals/src/suites/events/commands.ts:19–24  ·  view source on GitHub ↗
(call: Call)

Source from the content-addressed store, hash-verified

17}
18
19export function dedicatedWait(call: Call): "stream" | undefined {
20 if (call.kind !== "gh") return;
21 const { words, help } = command(call.arguments);
22 if (help) return;
23 if (words[0] === "event" && words[1] === "listen") return "stream";
24}
25
26/** The `gh event subscription` subcommand a call ran, or "api" for a `gh api` call on the subscriptions API. Help
27 * requests are not counted. */

Callers 6

commands.test.tsFile · 0.85
persistentWaitFunction · 0.85
startFunction · 0.85
analyseFunction · 0.85
gradeMethod · 0.85
observedAtFunction · 0.85

Calls 1

commandFunction · 0.70

Tested by

no test coverage detected