@methodus/server
Version:
dynamic rpc components
7 lines (6 loc) • 375 B
TypeScript
import 'reflect-metadata';
/** the MethodConfig decorator registers the controller as a router
* @param {string} name - the identifier of the controller in the resolver.
* @param {Function[]} workQueueName - an array of middlewares to apply to this controller}
*/
export declare function MessageConfig(name: string, workQueueName?: string): (target: any) => void;