MCPcopy Create free account
hub / github.com/anomalyco/opencode / beginReject

Function beginReject

packages/opencode/src/cli/cmd/run/footer.question.tsx:102–110  ·  view source on GitHub ↗
(input: QuestionReject)

Source from the content-addressed store, hash-verified

100 }
101
102 const beginReject = async (input: QuestionReject) => {
103 setState((prev) => questionSetSubmitting(prev, true))
104
105 try {
106 await props.onReject(input)
107 } catch {
108 setState((prev) => questionSetSubmitting(prev, false))
109 }
110 }
111
112 const saveCustom = () => {
113 const cur = state()

Callers 1

rejectFunction · 0.85

Calls 2

questionSetSubmittingFunction · 0.90
setStateFunction · 0.85

Tested by

no test coverage detected