UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

8 lines (7 loc) 422 B
/** * Return the estimated download speed (bytes/second). Result is cached. * Result is crude estimate since it's a single test file (small sample, only ~2MB), but is a valid test (since it's a Synapse file on s3). * The intent is to let the user know if the package download will take many hours to download. * @param accessToken */ export declare const testDownloadSpeed: (accessToken: string) => Promise<number>;