(ctx: Context)
| 14 | const response = new AsyncQueue<any>() |
| 15 | |
| 16 | export 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 | |
| 25 | export const TuiRoute = new Hono() |
| 26 | .get( |