Setu-TS
    Preparing search index...

    Interface WorkerTaskReply

    A task outcome posted by the worker back to the pool.

    0.1.0

    interface WorkerTaskReply {
        __hewp: 1;
        error?: WorkerErrorShape;
        id: number;
        kind: "reply";
        ok: boolean;
        result?: unknown;
    }
    Index
    __hewp: 1

    Protocol marker.

    The serialized error when ok is false.

    id: number

    Correlation id echoed from the request.

    kind: "reply"

    Discriminant.

    ok: boolean

    Whether the task handler returned normally.

    result?: unknown

    The handler's return value when ok is true.