Examples
Complete, runnable examples demonstrating different simloop features. Each example is self-contained and can be run directly.
| Example | Demonstrates |
|---|---|
| Store Counter | Global store (ctx.store) for accumulating data across handlers |
| Coffee Shop | Resource primitive, event cancellation, entities, statistics, lifecycle hooks |
| Network Packets | Multiple probability distributions working together |
| Stop Condition | stopWhen option for Monte Carlo convergence detection |
| Queue Buffer | Queue primitive with bounded capacity and overflow |
Last updated on