ConsoleInput

interface ConsoleInput

Console 输入. 由于 console 接管了 标准输入, readLine 等操作需要在这里进行.

Inheritors

Types

Link copied to clipboard

Functions

Link copied to clipboard
abstract suspend fun requestInput(hint: String): String

挂起当前协程, 以 提示 向用户索要一个输入, 在用户完成输入时返回输入结果.