UNPKG

@eggjs/tegg-schedule-plugin

Version:

schedule decorator for egg

6 lines (5 loc) 320 B
import { LifecycleHook } from '@eggjs/tegg-lifecycle'; import { EggPrototype, EggPrototypeLifecycleContext } from '@eggjs/tegg-metadata'; export declare class SchedulePrototypeHook implements LifecycleHook<EggPrototypeLifecycleContext, EggPrototype> { postCreate(ctx: EggPrototypeLifecycleContext): Promise<void>; }