waitFor

fun <P : Any> waitFor(awaitable: Awaitable<P, *>): P

Call when the current AgentProcess should wait for a response from the user.