Loop functions determine the behavior of the Bayesian Optimization algorithm on a global level.
For an overview of readily available loop functions, see as.data.table(mlr_loop_functions).
In general, a loop function is simply a decorated member of the S3 class loop_function.
Attributes must include: id (id of the loop function), label (brief description), instance ("single-crit" and
or "multi_crit"), and man (link to the manual page).
As an example, see, e.g., bayesopt_ego.
Other Loop Function: 
mlr_loop_functions,
mlr_loop_functions_ego,
mlr_loop_functions_emo,
mlr_loop_functions_mpcl,
mlr_loop_functions_parego,
mlr_loop_functions_smsego