0))
					  (when (&lt; count 5)
					    (yield (* 2 count))
					    (loop (1+ count)))))
				      (lambda (val)
					(display val)
					(newline)))
	  (event-loop-block! #f)))
(event-loop-run!)
</pre></div>
</dd></dl>

<dl class="def">
<dt id="index-await_002dgenerator_002din_002devent_002dloop_0021"><span class="category">Scheme Procedure: </span><span><strong>await-generator-in-event-loop!</strong> <em>await resume [waiter] worker generator proc</em><a href='#index-await_002dgenerator_002din_002devent_