Type alias TypeC<NeedContext, StartContext>

TypeC<NeedContext, StartContext>: PluginModuleBase & {
    init: ((context: NeedContext) => [undefined, StartContext]);
    start: ((context: LeftJoin<StartContextBase, StartContext>) => void | Promise<void>);
}

TypeC are plugins with StartContext but no PluginContext.

Deprecated

StartContext will be deprecated. Use closure to pass value to your start() instead.

Type Parameters

  • NeedContext extends Record<string | symbol, any>

  • StartContext extends Record<string | symbol, any>

Generated using TypeDoc