nding"><span id="ev/with-deadline" class="binding-sym">ev/with-deadline</span> <span class="binding-type">macro</span> <span class="binding-type"><a href="https://github.com/janet-lang/janet/blob/f92f3eb/src/boot/boot.janet#L3750">source</a></span> <pre class="binding-text">(ev/with-deadline sec &amp; body)

Create a fiber to execute `body`, schedule the event loop to cancel
the task (root fiber) associated with `body`'s fiber, and start
`body`'s fiber by resuming it.

The event loop will try to cancel the 