Type alias initialize_B<NeedContext, StartContext>
initialize_B<in NeedContext, StartContext>: ((context: NeedContext) => [undefined, StartContext])
Type Parameters
-
in NeedContext extends Record<string | symbol, any>
-
StartContext extends Record<string | symbol, any> | undefined
Type declaration
-
- (context: NeedContext): [undefined, StartContext]
-
Returns [undefined, StartContext]
Deprecated
StartContext will be deprecated. Use closure to pass value to your
start()
instead.