Removes the event listener in target's event listener list with the same type, callback, and options.
method
Worker.removeEventListener
type: K,
): void;
type: string,
): void;
Removes the event listener in target's event listener list with the same type, callback, and options.