andyrichardson / andyrichardson/subscriptionless
Add batching by topic for published events
Đang mở
enhancement
help wanted
- Ngôn ngữ chính
- TypeScript
- Star
- 93
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
## 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: {} }]
}
}
```
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.