MCPcopy Create free account
hub / github.com/redis/RedisInsight / register

Method register

redisinsight/api/src/modules/init/init.module.ts:7–21  ·  view source on GitHub ↗
(
    imports = [],
    initService: Type<InitService> = LocalInitService,
  )

Source from the content-addressed store, hash-verified

5@Module({})
6export class InitModule {
7 static register(
8 imports = [],
9 initService: Type<InitService> = LocalInitService,
10 ): DynamicModule {
11 return {
12 module: InitModule,
13 imports,
14 providers: [
15 {
16 provide: InitService,
17 useClass: initService,
18 },
19 ],
20 };
21 }
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected