interface WorkerReadySignal
Since 0.1.0

Posted once by the worker side (defineWorkerTask) after its message handler is wired; the pool dispatches tasks only to ready workers.

The __hewp marker (Setu-TS Worker Protocol) distinguishes protocol envelopes from unrelated messages, which both sides ignore.

Properties

readonly
__hewp: 1

Protocol marker.

readonly
kind: "ready"

Discriminant.

Usage

import { type WorkerReadySignal } from "common/src/index.ts";