ore the task starts), which shouldn&rsquo;t happen
unless memory is exhausted.  Exceptions arising during execution of
the task, if not caught locally, will propagate out of
g-main-loop-run.
</p>
<p>This procedure uses g-idle-add: see the introductory remarks about
that.
</p>
<p>Here is an example of the use of await-glib-task:
</p><div class="example">
<pre class="example">(define main-loop (g-main-loop-new #f #f))
(a-sync (lambda (await resume)
	  (simple-format #t &quot;1 + 1 is ~A\n&quot;
			 (await-gli