Type alias TypeC<NeedContext, StartContext>
TypeC
<NeedContext, StartContext>: PluginModuleBase & { init
: ((context
: NeedContext) => [undefined, StartContext]); start
: ((context
: LeftJoin<StartContextBase, StartContext>) => void | Promise<void>); }
Type Parameters
-
NeedContext extends Record<string | symbol, any>
-
StartContext extends Record<string | symbol, any>
TypeC are plugins with
StartContext
but noPluginContext
.Deprecated
StartContext will be deprecated. Use closure to pass value to your
start()
instead.