UNPKG

@kui-shell/core

Version:

An Electron-based shell for cloud-native development

6 lines (5 loc) 244 B
import { ScalarResponse } from './entity'; export type Streamable = ScalarResponse; export default Streamable; export type Stream = (response: Streamable) => void | Promise<void>; export type StreamableFactory = () => Stream | Promise<Stream>;