method ChildProcess.prototype.on
Usage in Deno
```typescript import { ChildProcess } from "node:node__child_process.d.ts"; ```
ChildProcess.prototype.on(event: "close",listener: (code: number | null,signal: Signals | null,) => void,): this
ChildProcess.prototype.on(event: "exit",listener: (code: number | null,signal: Signals | null,) => void,): this
ChildProcess.prototype.on(event: "message",listener: (message: Serializable,sendHandle: SendHandle,) => void,): this
listener: (message: Serializable,sendHandle: SendHandle,) => void
this