OutputSink

interface OutputSink<out T> : Sink<T>

Indicates a sink node that represents traffic leaving the port

Inheritors

Properties

Link copied to clipboard
abstract val occupants: Int

The number of occupants held by the container

Functions

Link copied to clipboard
abstract fun onEnter(callback: context(Simulator) (T) -> Unit)

Callback to execute when an entity enters the container

Link copied to clipboard
open override fun onLeave(callback: context(Simulator) (T) -> Unit)

Callback to execute when an entity leaves the container

Link copied to clipboard
open override fun supportsResidenceTime(): Boolean