Methods
Abstract ackData
- ackData(length: number): void
Abstract getChildProcesses
Abstract getPID
- getPID(): Promise<number>
Abstract getTruePID
- getTruePID(): Promise<number>
Abstract getWorkingDirectory
- getWorkingDirectory(): Promise<null | string>
Returns Promise<null | string>
Abstract kill
- kill(signal?: string): Promise<void>
Parameters
Returns Promise<void>
Abstract resize
- resize(columns: number, rows: number): Promise<void>
Parameters
columns: number
rows: number
Returns Promise<void>
Abstract subscribe
- subscribe(event: string, handler: ((..._: any[]) => void)): void
Parameters
event: string
handler: ((..._: any[]) => void)
Returns void
Abstract write
- write(data: Buffer): Promise<void>
Parameters
Returns Promise<void>