plinth/node/readlines

Types

pub type PromiseInterface

Functions

pub fn close(interface: PromiseInterface) -> Promise(String)
pub fn create_interface(
  completer: fn(String) -> #(Array(String), String),
  history: Array(String),
) -> PromiseInterface
pub fn question(
  interface: PromiseInterface,
  prompt: String,
) -> Promise(String)
Search Document