Grains v0.1.0 Grains.Bread
A %Bread{} is the compiled version of Recipe plus Grains that allow the Supervisor to run the processes and wire them correctly.
Link to this section Summary
Functions
Takes a recipe, grains and optionally a map of default implementations and returns a bread. Does not start any processes yet.
Generates a random atom to be used as an id for the Bread
Link to this section Types
Link to this section Functions
Link to this function
bake(recipe, grains, default_grains \\ Grains.default_grains())
Takes a recipe, grains and optionally a map of default implementations and returns a bread. Does not start any processes yet.
Link to this function
check(bread)
Link to this function
gen_id()
Generates a random atom to be used as an id for the Bread