Function: serveEngine()
ts
function serveEngine(port): () => void;Defined in: packages/core/src/engine/protocol.ts:51
Serve a CrossIndex over a port. Call this inside the worker.
Parameters
| Parameter | Type |
|---|---|
port | Port |
Returns
() => void