Skip to content

probe-web / @probe-web/client / index / createLocalWorker

Function: createLocalWorker()

ts
function createLocalWorker(opts?): Worker;

Defined in: index.ts:145

Create the worker that hosts probe-rs for the WebUSB transport. log raises probe-rs's tracing level inside the worker (its output is mirrored to the page as log: messages); in a browser it also comes from ?workerLog= on the page.

Parameters

ParameterType
opts{ log?: string; }
opts.log?string

Returns

Worker