Skip to main content

RecipeEvents

RecipeEvents posts callbacks around recipe synchronization and modification.

Events

MethodWhen
recipesReceived { event -> ... }The server sends the recipe list to the client.
modifyRecipes { event -> ... }Recipes are being modified before they are applied.

Example

RecipeEvents.modifyRecipes { event ->
// Modify recipe JSONs here
println "Modifying recipes"
}