@ceeblue/web-utils
    Preparing search index...

    Type Alias ThroughputEstimatorBeta

    Throughput Estimator.

    type ThroughputEstimator = {
        getEstimate(): number;
        sample(sample: ResourceTiming): void;
    }

    Implemented by

    Index

    Methods

    • Returns the current estimate of the throughput (in bytes per second)

      Returns number

      The current estimate of the throughput

    • Adds a sample to the throughput estimator

      Parameters

      Returns void