Skip to main content

Interface: TrpcProcedureHandler<TInput, TOutput>

Defined in: src/trpc/TrpcRouterBuilder.ts:4

Type Parameters​

Type ParameterDefault type
TInputany
TOutputany

Properties​

resolve​

resolve: (opts) => Promise<TOutput>

Defined in: src/trpc/TrpcRouterBuilder.ts:5

Parameters​

ParameterType
opts{ input: TInput; ctx?: any; }
opts.inputTInput
opts.ctx?any

Returns​

Promise<TOutput>