diff --git a/README.md b/README.md index 8a5a64c..bd31e69 100644 --- a/README.md +++ b/README.md @@ -283,6 +283,8 @@ Various other transformations are provided to simplify processing complex stream `Stream flatten()` on `Stream>` - Executes the provided callbacks on each event of this stream. \ `Future forEachEvent({onText: ...})` on `Stream`. +- Executes the provided callbacks on each event of this stream as a side-effect. \ + `Stream tapEachEvent({onText: ...})` on `Stream`. For example, the following snippet downloads data from the Internet, converts the UTF-8 input to a Dart `String`, decodes the stream of characters to `XmlEvent`s, and finally normalizes and prints the events: