locally, will
propagate out of event-loop-run! for &rsquo;loop&rsquo; or the default event loop
(as the case may be).
</p>
<p>Here is an example of the use of await-generator-in-thread-pool!:
</p><div class="example">
<pre class="example">(set-default-event-loop!) ;; if none has yet been set
(let ((pool (make-thread-pool #:max-threads 4)))
  (event-loop-block! #t) ;; because the generator runs in another thread
  (a-sync (lambda (await resume)
	    (await-generator-in-thread-pool! await resume
					     poo