synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
8 lines (7 loc) • 422 B
TypeScript
/**
* 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>;