method ChildProcess.prototype.once
#ChildProcess.prototype.once(event: string,listener: (...args: any[]) => void,): this
#ChildProcess.prototype.once(event: "close",listener: (code: number | null,signal: Signals | null,) => void,): this
#ChildProcess.prototype.once(event: "disconnect",listener: () => void,): this
#ChildProcess.prototype.once(event: "error",listener: (err: Error) => void,): this
#ChildProcess.prototype.once(event: "exit",listener: (code: number | null,signal: Signals | null,) => void,): this
#ChildProcess.prototype.once(event: "message",listener: (message: Serializable,sendHandle: SendHandle,) => void,): this
Parameters #
#event: "message"
#listener: (message: Serializable,sendHandle: SendHandle,) => void
Return Type #
this