@kui-shell/core
Version:
An Electron-based shell for cloud-native development
10 lines (9 loc) • 352 B
TypeScript
import { Streamable } from '../models/streamable';
/**
* This supports commads streaming their output to the console
*
* @see repl.ts for use of createOutputStream
* @see cli.ts for the webapp implementation
*
*/
export declare const streamTo: (which: 'stdout' | 'stderr') => Promise<(response: Streamable, killLine?: boolean) => Promise<void>>;