Skip to content

Commit 0b2e530

Browse files
committed
Fix example in README.md
Example is using missing variable `s`.
1 parent 41694dc commit 0b2e530

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ processor := batch.StartProcessor(
6161

6262
// And use the processor inside http/grpc handler or technology-agnostic service.
6363
// ResourceKey can be taken from request parameter.
64-
err := s.BatchProcessor.Run(resourceKey, func(r *YourResource) {
64+
err := processor.Run(resourceKey, func(r *YourResource) {
6565
// Here you put the code which will executed sequentially inside batch
6666
})
6767
```

0 commit comments

Comments
 (0)