README
Portal
Portal is an tool to expose an API between Javascript contexts. For example, WebWorkers and the DOM thread can expose methods to each other.
Credit
Created by Timothy Farrell
Expose an API to a Web Worker
<script type="module">
import workerPortal from 'https://cdn.skypack.dev/worker-portal';
</script>
Portal is an tool to expose an API between Javascript contexts. For example, WebWorkers and the DOM thread can expose methods to each other.
Created by Timothy Farrell