LiveLoad.Scenario.Throttle.Parallelism (LiveLoad v0.0.1-rc.54)

Copy Markdown View Source

LiveLoad.Scenario.Throttle.Parallelism provides a throttle that ensures only a certain amount of parallel executions at any given time.

Example

LiveLoad.Scenario.Throttle.Parallelism.new(:my_throttle, 5)

Summary

Functions

Creates a new LiveLoad.Scenario.Throttle.Parallelism with the given name and concurrency limit.

Types

t()

@opaque t()

Functions

new(name, limit)

@spec new(name :: atom(), limit :: pos_integer()) :: t()

Creates a new LiveLoad.Scenario.Throttle.Parallelism with the given name and concurrency limit.