Skip to content

Commit

Permalink
docs(event-listeners): add a link to IRedisSMQConfig interface
Browse files Browse the repository at this point in the history
  • Loading branch information
weyoss committed Dec 23, 2023
1 parent a026bde commit a7635c5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/event-listeners.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,15 @@ Using a configuration object, RedisSMQ allows you to register one or many event
import { IConfig, Configuration } from 'redis-smq';

const config: IConfig = {
eventListener: [MyEventListener]
eventListeners: [MyEventListener]
}

Configuration.getSetConfig(config);
```

### Emitted Events
See [`IRedisSMQConfig`](api/interfaces/IRedisSMQConfig.md) for more details.

### Events

An event listener allows subscribing to the following events:

Expand Down

0 comments on commit a7635c5

Please sign in to comment.