Initialize the collector
@override Future<void> initialize() => _initFunction?.call() ?? Future.value();