initModules function
Future<void>
initModules({
- required ModuleDispatcher dispatcher,
- required Map<
String, FactoryFunc> moduleFactories,
Implementation
Future<void> initModules(
{required ModuleDispatcher dispatcher,
required Map<String, FactoryFunc> moduleFactories}) async {
final manager = ModuleManager(dispatcher, moduleFactories);
await manager.start();
}