Documentation / @agentick/gateway / SimpleMethodHandler
Type Alias: SimpleMethodHandler()<TParams, TResult> ​
SimpleMethodHandler<
TParams,TResult> = (params,ctx?) =>Promise<TResult> |TResult
Defined in: gateway/src/types.ts:323
Simple method handler - ctx param is optional since Context.get() works
Type Parameters ​
TParams ​
TParams = Record<string, unknown>
TResult ​
TResult = unknown
Parameters ​
params ​
TParams
ctx? ​
Returns ​
Promise<TResult> | TResult