flywave-mapview.workerloader.fetchscriptsourcetobloburl
Home > @flywave/flywave-mapview > WorkerLoader > fetchScriptSourceToBlobUrl
WorkerLoader.fetchScriptSourceToBlobUrl() method
Fetch script source as Blob url.
Reuses results, if there are many simultaneous requests.
Signature:
static fetchScriptSourceToBlobUrl(scriptUrl: string): Promise<string>;
Parameters
Parameter | Type | Description |
|---|---|---|
scriptUrl | string | web worker script URL promise that resolves to url of a |
Returns:
Promise<string>