View Source Smokestack.ManyBuilder (smokestack v0.9.1)
Handles repeatedly building.
Summary
Functions
Run the factory a number of times.
Types
@type count_option() :: {:count, pos_integer()}
How many times should we call the builder?
@type error() :: Smokestack.RelatedBuilder.error() | Exception.t()
@type option() :: count_option() | Smokestack.RelatedBuilder.option()
@type result() :: [Smokestack.RelatedBuilder.result()]
Functions
@spec build(Smokestack.Dsl.Factory.t(), [option()]) :: {:ok, result()} | {:error, error()}
Run the factory a number of times.