GenCycle v0.1.1 GenCycle.Recipe.GatherAllRecipe View Source

Recipe that waits on all events to conclude.

Link to this section Summary

Functions

Recipes’ start method gets invoked when the event registered via GenCycle.add_recipe4 occurs. The start method is executed in its own task and its state parameter is not propagated

Link to this section Functions

Link to this function start(state, event, message, arg) View Source

Recipes’ start method gets invoked when the event registered via GenCycle.add_recipe4 occurs. The start method is executed in its own task and its state parameter is not propagated.

Parameters:

  • state - copy of the owner’s state when this got invoked.
  • event - event that triggered the start method
  • message - event message that triggered the start method
  • return - if the triggering event passed a return value, then it is passed to start via the return parameter. Otherwise the parameter is set as :no_return.

Callback implementation for GenCycle.RecipeBehavior.start/4.