GenCycle v0.1.1 GenCycle.Recipe.GatherRecipe View Source
Recipe that waits on the occurrence of specific group of events, from a starting to an ending event. If all the events are matched, it launches a new event.
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
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
.