Skip to main content

Type Alias: PdbTextFetcher()

PdbTextFetcher = (url) => Promise<string>

Defined in: src/mobjects/molecular/pdbFetch.ts:24

A text fetcher the CALLER provides (for example a wrapper around window.fetch that returns response.text()). The library never calls the network itself; it only awaits this function.

Parameters​

url​

string

Returns​

Promise<string>