on_start_loop Event
Fires when the starting of a loop is detected in a transaction set.
Syntax
class X12ReaderStartLoopEventParams(object): @property def name() -> str: ... # In class X12Reader: @property def on_start_loop() -> Callable[[X12ReaderStartLoopEventParams], None]: ... @on_start_loop.setter def on_start_loop(event_hook: Callable[[X12ReaderStartLoopEventParams], None]) -> None: ...
Remarks
The on_start_loop event will fire when the tag of a loop trigger segment is read. The Name parameter contains the schema-provided name of the loop, such as "N1Loop1".