(call: Call)
| 17 | } |
| 18 | |
| 19 | export 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. */ |
no test coverage detected