time Distribution
open fun <TimeDistributionType : TimeDistribution<T>> timeDistribution(timeDistribution: TimeDistributionType, block: context(TimeDistributionType) TimeDistributionContext<T, P>.() -> Unit)
Enters a TimeDistributionContext bound to the provided timeDistribution.
The block is executed with timeDistribution as a context receiver, enabling reaction definition utilities that share this distribution.
Parameters
time Distribution
the time distribution to use for reactions configured inside block.
block
the configuration block for defining reactions sharing timeDistribution.