CompositeSimulationEventSink

Event sink that forwards each simulation event to multiple child sinks.

This is useful when the same run must be logged both to console and to a JSONL file.

Constructors

Link copied to clipboard
constructor(sinks: List<SimulationEventSink>)
constructor(vararg sinks: SimulationEventSink)

Functions

Link copied to clipboard
open override fun emit(event: SimulationEvent)