MCPcopy Index your code
hub / github.com/upstash/jstack / get

Method get

packages/jstack/src/server/procedure.ts:202–219  ·  view source on GitHub ↗
(
    handler: ({
      ctx,
      c,
      input,
    }: {
      ctx: Ctx
      c: ContextWithSuperJSON<E>
      input: InputSchema extends ZodTypeAny ? z.infer<InputSchema> : void
    }) => Return,
  )

Source from the content-addressed store, hash-verified

200 }
201
202 get<Return extends OptionalPromise<ResponseType<any>>>(
203 handler: ({
204 ctx,
205 c,
206 input,
207 }: {
208 ctx: Ctx
209 c: ContextWithSuperJSON<E>
210 input: InputSchema extends ZodTypeAny ? z.infer<InputSchema> : void
211 }) => Return,
212 ): GetOperation<InputSchema, ReturnType<typeof handler>, E> {
213 return {
214 type: "get",
215 schema: this.inputSchema,
216 handler: handler as any,
217 middlewares: this.middlewares,
218 }
219 }
220
221 query<Return extends OptionalPromise<ResponseType<any>>>(
222 handler: ({

Callers 13

queryMethod · 0.95
search-router.tsFile · 0.80
parseJsonResponseFunction · 0.80
getFunction · 0.80
middlewareHandlerMethod · 0.80
registerOperationMethod · 0.80
leaveMethod · 0.80
createHeartbeatMethod · 0.80
unsubscribeMethod · 0.80
handleEventMethod · 0.80
offMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected