Function: embedSources()
embedSources(
urls,fetchFn?):Promise<Map<string,string>>
Defined in: packages/sdvplot/src/_web.ts:98
Data URIs for each distinct url, fetched once each. The one async helper of the adapters: call it, then pass the map as embed.
Parameters
urls
Iterable<string>
fetchFn?
{(input, init?): Promise<Response>; (input, init?): Promise<Response>; }
Returns
Promise<Map<string, string>>