MCPcopy Create free account
hub / github.com/WebDevSimplified/vscode-extension-pizza / InputFlowAction

Class InputFlowAction

src/MultiStepInput.ts:49–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49export class InputFlowAction {
50 message: string | void
51 type: string
52
53 constructor(type: string, message: string | void) {
54 this.type = type
55 this.message = message
56 }
57
58 static back(message: string | void) {
59 return new InputFlowAction("back", message)
60 }
61
62 static cancel(message: string | void) {
63 return new InputFlowAction("cancel", message)
64 }
65
66 static resume(message: string | void) {
67 return new InputFlowAction("resume", message)
68 }
69}
70
71export type InputStep = (
72 input: MultiStepInput,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected