TinyJoin logoTinyJoin

startWorker

The startWorker function starts the TinyJoin request host in the current dedicated Worker. Persistent databases participate in automatic same-name coordination across tabs, just like the packaged Worker. Memory databases remain independent.

startWorker(): void

Example

import {startWorker} from 'tinyjoin/worker';

startWorker();

Since

v0.0.5