Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data SchedulerConfig = SchedulerConfig {}
- debugScheduler ∷ SchedulerConfig → SchedulerConfig
- defaultSchedulerConfig ∷ SchedulerConfig
- runPointSchedule ∷ ∀ m. (IOLike m, MonadTime m, MonadTimer m) ⇒ SchedulerConfig → GenesisTestFull TestBlock → Tracer m (TraceEvent TestBlock) → m (StateView TestBlock)
Documentation
data SchedulerConfig Source #
Behavior config for the scheduler.
SchedulerConfig | |
|
debugScheduler ∷ SchedulerConfig → SchedulerConfig Source #
Enable debug tracing during a scheduler test.
defaultSchedulerConfig ∷ SchedulerConfig Source #
Default scheduler config
runPointSchedule ∷ ∀ m. (IOLike m, MonadTime m, MonadTimer m) ⇒ SchedulerConfig → GenesisTestFull TestBlock → Tracer m (TraceEvent TestBlock) → m (StateView TestBlock) Source #
Construct STM resources, set up ChainSync and BlockFetch threads, and
send all ticks in a PointSchedule
to all given peers in turn.