n example of the use of await-task!:
</p><div class="example">
<pre class="example">(set-default-event-loop!) ;; if none has yet been set
(a-sync (lambda (await resume)
	  (simple-format #t &quot;1 + 1 is ~A\n&quot;
			 (await-task! await resume
				      (lambda ()
					(+ 1 1))))))
(event-loop-run!)
</pre></div>
</dd></dl>

<dl class="def">
<dt id="index-await_002dyield_0021"><span class="category">Scheme Procedure: </span><span><strong>await-yield!</strong> <em>await resume [loop]</em><a href='#index-awa