Skip to main content

off

method Worker.prototype.off
Jump to headingWorker.prototype.off(
event: "error",
listener: (err: Error) => void,
): this

Parameters Jump to heading

Jump to headingevent: "error"
Jump to headinglistener: (err: Error) => void

Return Type Jump to heading

this
Jump to headingWorker.prototype.off(
event: "exit",
listener: (exitCode: number) => void,
): this

Parameters Jump to heading

Jump to headingevent: "exit"
Jump to headinglistener: (exitCode: number) => void

Return Type Jump to heading

this
Jump to headingWorker.prototype.off(
event: "message",
listener: (value: any) => void,
): this

Parameters Jump to heading

Jump to headingevent: "message"
Jump to headinglistener: (value: any) => void

Return Type Jump to heading

this
Jump to headingWorker.prototype.off(
event: "messageerror",
listener: (error: Error) => void,
): this

Parameters Jump to heading

Jump to headingevent: "messageerror"
Jump to headinglistener: (error: Error) => void

Return Type Jump to heading

this
Jump to headingWorker.prototype.off(
event: "online",
listener: () => void,
): this

Parameters Jump to heading

Jump to headingevent: "online"
Jump to headinglistener: () => void

Return Type Jump to heading

this
Jump to headingWorker.prototype.off(
event: string | symbol,
listener: (...args: any[]) => void,
): this

Parameters Jump to heading

Jump to headingevent: string | symbol
Jump to headinglistener: (...args: any[]) => void

Return Type Jump to heading

this
Back to top