XmlEachEventStreamExtension extension

on

Methods

forEachEvent({EventHandler<XmlCDATAEvent>? onCDATA, EventHandler<XmlCommentEvent>? onComment, EventHandler<XmlDeclarationEvent>? onDeclaration, EventHandler<XmlDoctypeEvent>? onDoctype, EventHandler<XmlEndElementEvent>? onEndElement, EventHandler<XmlProcessingEvent>? onProcessing, EventHandler<XmlStartElementEvent>? onStartElement, EventHandler<XmlTextEvent>? onText}) Future<void>

Available on Stream<XmlEvent>, provided by the XmlEachEventStreamExtension extension

Executes the provided callbacks on each event of this stream.
tapEachEvent({EventHandler<XmlCDATAEvent>? onCDATA, EventHandler<XmlCommentEvent>? onComment, EventHandler<XmlDeclarationEvent>? onDeclaration, EventHandler<XmlDoctypeEvent>? onDoctype, EventHandler<XmlEndElementEvent>? onEndElement, EventHandler<XmlProcessingEvent>? onProcessing, EventHandler<XmlStartElementEvent>? onStartElement, EventHandler<XmlTextEvent>? onText}) Stream<XmlEvent>

Available on Stream<XmlEvent>, provided by the XmlEachEventStreamExtension extension

Executes the provided callbacks on each event of this stream as a side effect.