createProxyWorker
@microblink/blinkid-core / createProxyWorker
Function: createProxyWorker()
createProxyWorker(
resourcesLocation):Promise<Remote<BlinkIdWorkerProxy>>
Creates a Comlink-proxied Web Worker
Parameters
resourcesLocation
string = window.location.href
where the "resources" directory is placed, default
is window.location.href
Returns
Promise<Remote<BlinkIdWorkerProxy>>
a Comlink-proxied instance of the Web Worker