etails).  This await-generator-in-thread! procedure will run
&rsquo;generator&rsquo; in its own worker thread, and whenever &rsquo;generator&rsquo; yields
a value will cause &rsquo;proc&rsquo; to execute in the event loop specified by
the &rsquo;loop&rsquo; argument (or in the default event loop if no &rsquo;loop&rsquo;
argument is provided or if #f is provided as the &rsquo;loop&rsquo; argument -
pattern matching is used to detect the type of the third argument).
</p>
<p>&rsquo;proc&rsquo; should be a proc