MCPcopy Create free account
hub / github.com/arctic-cli/interface / callTui

Function callTui

packages/arctic/src/server/tui.ts:16–23  ·  view source on GitHub ↗
(ctx: Context)

Source from the content-addressed store, hash-verified

14const response = new AsyncQueue<any>()
15
16export async function callTui(ctx: Context) {
17 const body = await ctx.req.json()
18 request.push({
19 path: ctx.req.path,
20 body,
21 })
22 return response.next()
23}
24
25export const TuiRoute = new Hono()
26 .get(

Callers

nothing calls this directly

Calls 3

pushMethod · 0.80
jsonMethod · 0.65
nextMethod · 0.45

Tested by

no test coverage detected