getStatsAsync

The getStats() method of the WebTransportReceiveStream interface asynchronously returns an object containing statistics for the current stream.

MDN Reference