docs/guides/callbacks.md in wayfarer-0.4.1 vs docs/guides/callbacks.md in wayfarer-0.4.2
- old
+ new
@@ -50,19 +50,19 @@
```
Internally, a batch counter is in-/decremented on certain events. Once the
counter reaches zero, `after_batch` callbacks runs in declaration order.
-The counter is incremented when:
+The counter is incremented when within the batch:
-* A job is enqueued within the batch.
+* A job is enqueued.
The counter is decremented when:
* A job succeeds.
-* A job fails due to an unhandled exception.
-* A job fails due to a discarded exception.
-* A job fails and thereyby exhausts its maximum attempts.
+* A job errors due to an unhandled exception.
+* A job is discarded due to an exception.
+* A job errors and thereyby exhausts its maximum attempts.
!!! attention "Batch callbacks can fail jobs"
If the last job's `after_batch` callbacks raises an exception, this can lead
to the job getting retried. If the exception raised by the callback is