(message: any)
| 222 | events.push({ name: 'start', context: message }); |
| 223 | }; |
| 224 | const onAsyncEnd = (message: any) => { |
| 225 | events.push({ name: 'asyncEnd', context: message }); |
| 226 | }; |
| 227 | |
| 228 | dc.subscribe('tracing:node-redis:command:start', onStart); |
| 229 | dc.subscribe('tracing:node-redis:command:asyncEnd', onAsyncEnd); |