API reference / @chanx-js/server / core / handlerMethods
Function: handlerMethods()
ts
function handlerMethods(target): HandlerMethodInfo[];Defined in: packages/server/src/classes.ts:206
A class's @On and @OnEvent methods, walking its prototype chain: an override, decorated or not, hides the method it overrides, and two methods handling one action are an error. For framework integrations such as NestJS.
Parameters
| Parameter | Type |
|---|---|
target | (...args) => unknown |