Opens a connection, downloads the export on it and closes it again.
See ExportRunOptions.
The export result from downloadExportViaNats.
downloadExportViaNats
An error named AbortError when signal is aborted (at any point), an error when the connection cannot be opened, or whatever the download throws. The connection is closed in every case.
AbortError
signal
Opens a connection, downloads the export on it and closes it again.