API reference › @evolu/common › Worker › createWorker
function createWorker<Input, Output>(
initWorker: (self: WorkerSelf<Input, Output>) => void,
): Worker<Input, Output>;
Defined in: packages/common/src/Worker.ts:208
Creates an in-memory Worker.
This is a memory-only fallback for platforms without native worker support. Message delivery is asynchronous in-process.