@ubercode/dcmtk 0.9.4 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1711,7 +1711,7 @@ declare class DicomReceiver extends EventEmitter<DicomReceiverEventMap> {
1711
1711
  private createDcmrecv;
1712
1712
  /** Spawns a single Dcmrecv worker with an ephemeral port. */
1713
1713
  private spawnWorker;
1714
- /** Stops a single worker: stop process, clean temp dir, remove from pool. */
1714
+ /** Stops a single worker: destroy sockets, stop process, clean temp dir, remove from pool. */
1715
1715
  private stopWorker;
1716
1716
  /** Pre-emptively spawns workers to keep idle count >= minPoolSize. */
1717
1717
  private replenishPool;
@@ -1719,7 +1719,7 @@ declare class DicomReceiver extends EventEmitter<DicomReceiverEventMap> {
1719
1719
  private scaleDown;
1720
1720
  /** Wires all events on a worker: file handling, association lifecycle, output capture. */
1721
1721
  private wireWorkerEvents;
1722
- /** Wires FILE_RECEIVED from dcmrecv worker — files are processed serially per worker. */
1722
+ /** Wires FILE_RECEIVED from dcmrecv worker — captures context synchronously. */
1723
1723
  private wireFileReceived;
1724
1724
  /** Moves a received file, opens it as DicomInstance, and emits FILE_RECEIVED. */
1725
1725
  private handleFileReceived;
@@ -1731,8 +1731,6 @@ declare class DicomReceiver extends EventEmitter<DicomReceiverEventMap> {
1731
1731
  private finalizeAssociation;
1732
1732
  /** Emits the ASSOCIATION_COMPLETE event with transfer stats. */
1733
1733
  private emitAssociationComplete;
1734
- /** Resets worker state to idle after an association completes. */
1735
- private resetWorker;
1736
1734
  /** Bubbles ASSOCIATION_RECEIVED from dcmrecv worker. */
1737
1735
  private wireAssociationReceived;
1738
1736
  /** Bubbles C_STORE_REQUEST from dcmrecv worker. */
@@ -1711,7 +1711,7 @@ declare class DicomReceiver extends EventEmitter<DicomReceiverEventMap> {
1711
1711
  private createDcmrecv;
1712
1712
  /** Spawns a single Dcmrecv worker with an ephemeral port. */
1713
1713
  private spawnWorker;
1714
- /** Stops a single worker: stop process, clean temp dir, remove from pool. */
1714
+ /** Stops a single worker: destroy sockets, stop process, clean temp dir, remove from pool. */
1715
1715
  private stopWorker;
1716
1716
  /** Pre-emptively spawns workers to keep idle count >= minPoolSize. */
1717
1717
  private replenishPool;
@@ -1719,7 +1719,7 @@ declare class DicomReceiver extends EventEmitter<DicomReceiverEventMap> {
1719
1719
  private scaleDown;
1720
1720
  /** Wires all events on a worker: file handling, association lifecycle, output capture. */
1721
1721
  private wireWorkerEvents;
1722
- /** Wires FILE_RECEIVED from dcmrecv worker — files are processed serially per worker. */
1722
+ /** Wires FILE_RECEIVED from dcmrecv worker — captures context synchronously. */
1723
1723
  private wireFileReceived;
1724
1724
  /** Moves a received file, opens it as DicomInstance, and emits FILE_RECEIVED. */
1725
1725
  private handleFileReceived;
@@ -1731,8 +1731,6 @@ declare class DicomReceiver extends EventEmitter<DicomReceiverEventMap> {
1731
1731
  private finalizeAssociation;
1732
1732
  /** Emits the ASSOCIATION_COMPLETE event with transfer stats. */
1733
1733
  private emitAssociationComplete;
1734
- /** Resets worker state to idle after an association completes. */
1735
- private resetWorker;
1736
1734
  /** Bubbles ASSOCIATION_RECEIVED from dcmrecv worker. */
1737
1735
  private wireAssociationReceived;
1738
1736
  /** Bubbles C_STORE_REQUEST from dcmrecv worker. */