Compartilhar via


HostToAppPerformanceMetricsHandler type

This function is passed to registerHostToAppPerformanceMetricsHandler. It is called every time a response is received from the host with metrics for analyzing message delay. See HostToAppPerformanceMetrics to see which metrics are passed to the handler.

type HostToAppPerformanceMetricsHandler = (
  metrics: HostToAppPerformanceMetrics
) => void