/shared-worker-service-invocation

Calling services in shared worker using Comlink.

Primary LanguageTypeScriptMIT LicenseMIT

shared-worker-service-invocation

Example of using Comlink to invoke services between the browser and multiple shared workers.

https://dfbaskin.github.io/shared-worker-service-invocation/

To run:

npm install
npx nx serve webapp

To view shared workers (in Chrome):

chrome://inspect/#workers

To run Jaeger and view telemetry data:

./jaeger-all-in-one --collector.otlp.http.cors.allowed-headers=* --collector.otlp.http.cors.allowed-origins=http://localhost:4200

then navigate to http://localhost:16686 to use the Jaeger UI.

Open in StackBlitz