Registers an event listener on messages from the worker.
Registers an event listener on worker-level errors.
Registers an event listener on worker exit.
Sends a command to the worker, optionally transferring ownership of ArrayBuffers without copying.
OptionaltransferList: readonly ArrayBuffer[]Terminates the worker thread.
Interface representing the media worker communication channel (e.g.
worker_threads.Workeror an injected test channel).