PassThroughStorageEndpoint

Default delivery endpoint for storing destinations. On every Delivered transition, immediately calls demand.store(), advancing the demand to Stored at the same simulation time.

Idempotent and stateless — safe to share across destinations. The framework's Delivered observer uses this object as the fallback when a demand's destination has no explicit endpoint configured (e.g. customers, or any destination that didn't opt in to dock modelling).

Functions

Link copied to clipboard
open override fun onDelivered(demand: SupplyChainModel.Demand)

Called by the framework Delivered observer when demand transitions into Delivered at this endpoint's destination.