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