Methods
end
- end(): void
-
Returns void
exit
- exit(code: number): void
-
Returns void
on
- on(name: "error", callback: ((ex: any) => void)): void
-
Parameters
-
name: "error"
-
callback: ((ex: any) => void)
-
- (ex: any): void
-
Returns void
Returns void
- on(name: "data", callback: ((data: {
toString(): string;
}) => void)): void
-
Parameters
-
name: "data"
-
callback: ((data: {
toString(): string;
}) => void)
-
- (data: {
toString(): string;
}): void
-
Parameters
-
data: {
toString(): string;
}
-
toString:function
- toString(): string
-
Returns string
Returns void
Returns void
write
- write(data: string): void
-
Returns void