XmlEachEventStreamExtension extension
Methods
-
forEachEvent({EventHandler<XmlCDATAEvent>? onCDATA, EventHandler<XmlDeclarationEvent>? onDeclaration, EventHandler<XmlDoctypeEvent>? onDoctype, EventHandler<XmlEndElementEvent>? onEndElement, EventHandler<XmlProcessingEvent>? onProcessing, EventHandler<XmlStartElementEvent>? onStartElement, EventHandler<XmlTextEvent>? onText})
→ Future<void>
-
Executes the provided callbacks on each event of this stream.
-
tapEachEvent({EventHandler<XmlCDATAEvent>? onCDATA, EventHandler<XmlDeclarationEvent>? onDeclaration, EventHandler<XmlDoctypeEvent>? onDoctype, EventHandler<XmlEndElementEvent>? onEndElement, EventHandler<XmlProcessingEvent>? onProcessing, EventHandler<XmlStartElementEvent>? onStartElement, EventHandler<XmlTextEvent>? onText})
→ Stream<XmlEvent>
-
Executes the provided callbacks on each event of this stream as a side
effect.