in MobiusCore/Source/MobiusLogger.swift [20:56]
func willInitiate(model: Model)
/// Called right after the `Initiate` function is called.
///
/// This method is only called for `MobiusController`-managed loops.
///
/// This method mustn't block, as it'll hinder the loop from running. It will be called on the
/// same thread as the initiate function.
///
/// - Parameters:
/// - model: the model that was passed to the initiate function
/// - first: the resulting `First` instance
func didInitiate(model: Model, first: First<Model, Effect>)
/// Called right before the `Update` function is called.
///
/// This method mustn't block, as it'll hinder the loop from running. It will be called on the
/// same thread as the update function.
///
/// - Parameters:
/// - model: the model that will be passed to the update function
/// - event: the event that will be passed to the update function
func willUpdate(model: Model, event: Event)
/// Called right after the `Update` function is called.
///
/// This method mustn't block, as it'll hinder the loop from running. It will be called on the
/// same thread as the update function.
///
/// - Parameters:
/// - model: the model that was passed to update
/// - event: the event that was passed to update
/// - result: the `Next` that update returned
func didUpdate(model: Model, event: Event, next: Next<Model, Effect>)
}
public extension MobiusLogger {