f not caught locally, will also
propagate out of event-loop-run!.
</p>
<p>This procedure is first available in version 0.9 of this library.
</p>
<p>Here is an example of the use of await-generator-in-thread!:
</p><div class="example">
<pre class="example">(set-default-event-loop!) ;; if none has yet been set
(event-loop-block! #t) ;; because the generator runs in another thread
(a-sync (lambda (await resume)
          (await-generator-in-thread! await resume
				      (lambda (yield)
					(let loop ((count 