on_output Event
Fires whenever a segment is complete.
Syntax
class EDIFACTWriterOutputEventParams(object): @property def output_data() -> bytes: ... # In class EDIFACTWriter: @property def on_output() -> Callable[[EDIFACTWriterOutputEventParams], None]: ... @on_output.setter def on_output(event_hook: Callable[[EDIFACTWriterOutputEventParams], None]) -> None: ...
Remarks
The on_output event will fire when the writer completes a new segment and writes data to the output stream or buffer. The Data parameter contains the data bytes.