OfflineSyncDiagnosticSink typedef

OfflineSyncDiagnosticSink = void Function(Map<String, Object?> event)

A synchronous, best-effort consumer of optional sync measurements.

Consumers must avoid I/O and expensive work in this callback. Exceptions from a consumer are ignored so diagnostics cannot change sync semantics.

Implementation

typedef OfflineSyncDiagnosticSink = void Function(Map<String, Object?> event);