>
<p>Here is an example of the use of await-getline!:
</p><div class="example">
<pre class="example">(set-default-event-loop!) ;; if none has yet been set
(a-sync (lambda (await resume)
	  (display &quot;Enter a line of text at the keyboard\n&quot;)
	  (simple-format #t
			 &quot;The line was: ~A\n&quot;
			 (await-getline! await resume
					 (open &quot;/dev/tty&quot; O_RDONLY)))))
(event-loop-run!)
</pre></div>
</dd></dl>

<dl class="def">
<dt id="index-await_002dgeteveryline_0021"><span class="category">