RecordingBudgetObserver

constructor(onEach: (BudgetEvent) -> Unit = {})(source)

Parameters

onEach

an extra callback per event; does nothing by default. An exception it throws propagates to the budget, which logs it.