XmlEachEventStreamListExtension 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>
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<List<XmlEvent>>
Executes the provided callbacks on each event of this stream as a side effect.