XmlForEachEventExtension 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
Executes the provided callbacks on each event of this stream.