UNPKG

@eggjs/controller-decorator

Version:

tegg controller decorator

11 lines (10 loc) 444 B
import type { EggProtoImplClass } from '@eggjs/tegg-types'; import { WebSocketFetchControllerMeta } from '../../model'; export declare class WebSocketFetchControllerMetaBuilder { private readonly clazz; constructor(clazz: EggProtoImplClass); private buildMethods; private assertSingleLifecycleMethod; build(): WebSocketFetchControllerMeta; static create(clazz: EggProtoImplClass): WebSocketFetchControllerMetaBuilder; }