andyrichardson / andyrichardson/subscriptionless

Add batching by topic for published events

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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á.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.