of
Constructs a module with no config.
Return
A Module with no config.
Parameters
setup
A function that sets up the module.
Constructs a module with config.
Return
A Module with the provided config.
Parameters
config
A function that returns the configuration for the module.
setup
A function that sets up the module.