import { type MessageValue } from "https://deno.land/x/poolifier@v0.3.14/src/utility-types.ts";
Message object that is passed between main worker and worker.
Properties
readonly
optional
workerError: WorkerError<ErrorData>Worker error.
readonly
optional
taskPerformance: TaskPerformanceTask performance.
Task function operation:
'add'
- Add a task function.'remove'
- Remove a task function.'default'
- Set a task function as default.
Whether the task function operation is successful or not.
readonly
optional
statistics: WorkerStatisticsWhether the worker computes the given statistics or not.
readonly
optional
port: MessagePortMessage port.