@glue42/worker-web

Glue42 Core shared worker

Usage no npm install needed!

<script type="module">
  import glue42WorkerWeb from 'https://cdn.skypack.dev/@glue42/worker-web';
</script>

README

Shared Worker

The Shared Worker is a script which is used to create a Shared Web Worker. This is the central point to which all Glue42 Clients connect when initializing the Glue42 Web library. It is responsible for configuring, initializing and linking Glue42 Clients to the Glue42 Gateway.

The Shared Worker uses the glue.config.json configuration file to get user-defined settings for the Glue42 Gateway.

Important! The Shared Worker will expect to find a configuration file at ./glue.config.json. Due to the current limitations of the Shared Web Worker interface, passing a different config file location is not an option. Therefore, if this file is not found at that location, the worker will proceed with the default settings for the Glue42 Gateway.