[][src]Function rettle::brewery::make_tea

pub fn make_tea(
    tea_batch: Vec<Box<dyn Tea + Send>>,
    recipe: Arc<RwLock<Vec<Box<dyn Ingredient + Send + Sync>>>>
)

This function is passed to the brewer via a thread for it to process the batch of Tea.

Arguments

  • tea_batch - Array of Tea structs to be processed
  • recipe - read only clone of recipe containing all steps