nother thread
(a-sync (lambda (await resume)
	  (simple-format #t &quot;1 + 1 is ~A\n&quot;
			 (await-task-in-thread! await resume
						(lambda ()
						  (+ 1 1))))
	  (event-loop-block! #f)))
(event-loop-run!)
</pre></div>
</dd></dl>

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