| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- import { Module, OnModuleInit } from '@nestjs/common';
- import { SceneService } from './scene.service';
- import { CacheModule } from '../cache/cache.module';
- import { CacheService } from '../cache/cache.service';
- // import { RedisService } from '../redis/redis.service';
- import { StreamService } from './stream/stream.service';
- // import { BullModule } from '@nestjs/bull';
- // import { RotateConsumer } from './rotate-consumer';
- // import { WalkingConsumer } from './walking-consumer';
- import { RotateService } from '../rotate/rotate.service';
- import { MoveService } from '../move/move.service';
- import { GetRouterService } from 'src/get-router/get-router.service';
- import { StreamWorkerService } from './stream-worker/stream-worker.service';
- @Module({
- imports: [
- CacheModule,
- // BullModule.registerQueue({
- // name: 'rotate',
- // }),
- // BullModule.registerQueue({
- // name: 'walking',
- // }),
- ],
- controllers: [],
- providers: [
- SceneService,
- CacheService,
- StreamService,
- RotateService,
- // RotateConsumer,
- // WalkingConsumer,
- MoveService,
- GetRouterService,
- StreamWorkerService,
- ],
- exports: [
- SceneService,
- CacheService,
- RotateService,
- MoveService,
- StreamWorkerService,
- ],
- })
- export class SceneModule implements OnModuleInit {
- onModuleInit() {
- //
- }
- }
|