ask"><span class="category">Scheme Procedure: </span><span><strong>await-glib-task</strong> <em>await resume thunk</em><a href='#index-await_002dglib_002dtask' class='copiable-anchor'> &para;</a></span></dt>
<dd><p>This is a convenience procedure for use with glib, which will run
&rsquo;thunk&rsquo; in the default glib main loop.  This procedure calls &rsquo;await&rsquo;
and will return the thunk&rsquo;s return value.  It is intended to be called
in a waitable procedure invoked by a-sync.  It is the single-