Documentation
¶
Overview ¶
Package runtime provides the concrete Factory implementation that wires together the engine, workers, and subsystems.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TickableFactory ¶
type TickableFactory interface {
factory.Factory
Tick(ctx context.Context) error
TickN(ctx context.Context, n int) error
TickUntil(ctx context.Context, pred func(*petri.MarkingSnapshot) bool, maxTicks int) error
}
TickableFactory extends Factory with synchronous tick control. Used by the test harness to drive the engine step-by-step without starting the async Run loop.
Click to show internal directories.
Click to hide internal directories.