Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos in README.md #11

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ This will batch all calls made within a certain time frame UP to a certain max b
```ts
const batcher = batshit.create({
...,
scheduler: maxBatchSizeScheduler({
scheduler: windowedFiniteBatchScheduler({
windowMs: 10,
maxBatchSize: 100,
}),
Expand Down Expand Up @@ -166,7 +166,7 @@ const batcher = batshit.create({
});
```

### Fethcing with needed context
### Fetching with needed context

If the batch fetcher needs some context like an sdk or client to make its fetching you can use a memoizer to make sure that you reuse a batcher for the given context in the hook calls.

Expand Down