UNPKG

@aiot-toolkit/emulator

Version:

vela emulator tool.

17 lines (16 loc) 777 B
import readline from 'readline'; import { ChildProcessWithoutNullStreams } from 'child_process'; import { EmulatorReadlines } from '../typing/Instance'; export declare function creatLogcat(sn: string, onStdout?: (msg: string) => void, onErrout?: (msg: string) => void, p?: ChildProcessWithoutNullStreams, rls?: EmulatorReadlines): { logcatProcess: ChildProcessWithoutNullStreams; onStdout: (msg: string) => void; onErrout: (msg: string) => void; stdoutReadline: readline.Interface; stderrReadline: readline.Interface; dispose(): void; }; export declare function attachReadline(p: ChildProcessWithoutNullStreams, onStdout: any, onErrout: any): { stdoutReadline: readline.Interface; stderrReadline: readline.Interface; dispose: () => void; };