Module

Node.ReadLine.Aff

Package
purescript-node-readline
Repository
purescript-node/purescript-node-readline

#question Source

question :: String -> Interface -> Aff String

Blocks until receives user input. There is no way to cancel this.

#question' Source

question' :: String -> AbortController -> Interface -> Aff String

Blocks until receives user input. An AbortController can be used to cancel this. If the AbortSignal is aborted outside of this function, this computation will produce an error. If the AbortSignal is already aborted, this will throw an error.

#blockUntilClosed Source