IPWorks EDI 2020 Python Edition

Questions / Feedback?

on_output Event

Fires whenever a segment is complete.


class X12WriterOutputEventParams(object):
  def output_data() -> bytes: ...

# In class X12Writer:
def on_output() -> Callable[[X12WriterOutputEventParams], None]: ...
def on_output(event_hook: Callable[[X12WriterOutputEventParams], None]) -> None: ...


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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 Python Edition - Version 20.0 [Build 8162]