Type alias PluginContainerModuleCallBack

PluginContainerModuleCallBack: ((registry) => void)

An analogue of the callback function in the constructor of the Inversify ContainerModule providing a registry that, in addition to the standard binding-related functions, includes a custom function for binding an API factory.

Type declaration

    • (registry): void
    • Parameters

      • registry: {
            bind: interfaces.Bind;
            bindApiFactory: BindApiFactory;
            isBound: interfaces.IsBound;
            rebind: interfaces.Rebind;
            unbind: interfaces.Unbind;
        }
        • bind: interfaces.Bind
        • bindApiFactory: BindApiFactory
        • isBound: interfaces.IsBound
        • rebind: interfaces.Rebind
        • unbind: interfaces.Unbind

      Returns void