shipmentScansOf

abstract fun shipmentScansOf(shipmentIds: Set<String>): StateFlow<List<List<ShipmentScan>>>

Provides a reactive stream of scans for a specific set of shipment IDs.

Return

A StateFlow containing a nested list of scans grouped by shipment.

Parameters

shipmentIds

The set of unique shipment identifiers to observe.


abstract fun shipmentScansOf(shipmentId: String): StateFlow<List<ShipmentScan>>

Provides a reactive stream of scans for a single shipment.

Return

A StateFlow containing the list of scans for the specified shipment.

Parameters

shipmentId

The unique identifier of the shipment.