andyrichardson / andyrichardson/subscriptionless
Add batching by topic for published events
Ouverte
enhancement
help wanted
- Langage dominant
- TypeScript
- Étoiles
- 93
- Forks
- 3
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
## About
Resolvers should be called with an array of events (due to batching of events).
> Note: Needs exploration to see if this is necessary and/or common practice
## Example
Before
```
{
// ...
resolve: (event) => {
console.log(event) // { topic: 'MY_TOPIC', payload: {} }
}
}
```
After
```
{
// ...
resolve: (events) => {
console.log(events) // [{ topic: 'MY_TOPIC', payload: {} }]
}
}
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.