Collect<T extends Collector> typedef Null safety

Collect<T extends Collector> = FutureOr<void> Function(T collector)

A callback used to aggregate the current sample values.

Implementation

typedef Collect<T extends Collector> = FutureOr<void> Function(T collector);