IPWorks X12 2020 JavaScript Edition

Questions / Feedback?

EndSegment Method

Ends writing the current segment.


async x12writer.endSegment(): Promise<void>


EndSegment terminates writing the current segment and flushes it to the output stream/file.

You should call EndSegment to close a segment started with StartSegment, StartInterchangeHeader, StartFunctionalGroupHeader or StartTransactionHeader.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks X12 2020 JavaScript Edition - Version 20.0 [Build 8262]