Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 | /**
* Where pastis-NB's helpers are constructed (`analysis/likelihoodThreads.ts`).
*
* Its own module, for `spawnGram.ts`'s reasons: imported by the analysis worker,
* and swapped by the standalone build for {@link ./spawnLikelihood.standalone.ts},
* since a `file://` page can start a worker only from a blob.
*/
export function spawnLikelihoodWorker(): Worker {
return new Worker(new URL('./likelihood.worker.ts', import.meta.url), { type: 'module' })
}
|