MCPcopy
hub / github.com/midwayjs/midway / QueueTask1

Class QueueTask1

packages/bullmq/test/index.test.ts:38–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 @Processor('test')
39 class QueueTask1 {
40 @MainApp()
41 app: Application;
42
43 @Inject()
44 logger;
45
46 async execute(params) {
47 this.logger.info(`====>QueueTask execute`);
48 this.app.setAttr(`queueConfig`, JSON.stringify(params));
49 }
50 }
51
52 const app = await createLightApp({
53 imports: [

Callers

nothing calls this directly

Calls 3

ProcessorFunction · 0.90
MainAppFunction · 0.90
InjectFunction · 0.90

Tested by

no test coverage detected